Create backup of account via command line?

DewlanceVPS

Verified User
Joined
Oct 3, 2016
Messages
86
Hello,

I want to create backup of individual account via command line but it seems this tutorial is bit outdated for newest version of directadmin.

It create backup but left files.


Any command to create backup of account like we create it from GUI mode which simply create user.tar like backup and does not left any user files in backup location path.


Thanks.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,340
Location
LT, EU
It should work. May you let us know what's the problem? It shouldn't left files in backup location, maybe some error prevents it from finishing?
 

DewlanceVPS

Verified User
Joined
Oct 3, 2016
Messages
86
It should work. May you let us know what's the problem? It shouldn't left files in backup location, maybe some error prevents it from finishing?
Yes, I am getting this error while generating backup:
User::setQuota(0, inodes=0, partition='(null)') user=admin
quota command: /usr/sbin/setquota admin 0 0 0 0 /
Quotas set
setOwner:/backup/admin/backup/email_data/webmail/admin_localhost:to uid=1001 gid
lstat(/var/www/html/squirrelmail/data/admin.abook): No such file or directory
setOwner:/backup/admin/backup/email_data/squirrelmail/admin.abook:to uid=1001 gi
lstat(/var/www/html/squirrelmail/data/admin.sig): No such file or directory
setOwner:/backup/admin/backup/email_data/squirrelmail/admin.sig:to uid=1001 gid=
lstat(/var/www/html/squirrelmail/data/admin.words): No such file or directory
setOwner:/backup/admin/backup/email_data/squirrelmail/admin.words:to uid=1001 gi
User::setQuota(0, inodes=0, partition='(null)') user=admin
quota command: /usr/sbin/setquota admin 0 0 0 0 /
Quotas set
Tickets::deliverMessage: 1: variables to write: num_user_messages=-1 num_user_ti
Ticket::notifyUser:admin: counts before trying to get new values: num_user_messa
Tickets::notifyUser: variables to write: num_user_messages=148 num_user_tickets=
Tickets::notifyUser: writing the new_way based on counts and exist values for te
Tickets::deliverMessage: 2: variables to write: num_user_messages=-1 num_user_ti
exim1: Unable to find ip_after from
exim1: Unable to find ip_after from
exim1: Unable to find ip_after from
exim1: Unable to find ip_after from
exim1: Unable to find ip_after from
done queue
 
Top