Admin backup: full data backup not working, missing user files

explosive

Verified User
Joined
Dec 29, 2010
Messages
175
Location
PL/EU
Latest DA, ADMIN backup, setting ALL DATA and in user.reseller.user.tar.gz I don't have user files. I have everything (mail, sql, settings) WITHOUT user files.

Code:
echo "action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=user&type=admin&value=multiple&when=now&where=local" >> /usr/local/directadmin/data/task.queue
# /usr/local/directadmin/dataskq d200
Debug mode. Level 200

pidfile written
staring queue
dataskq: command: action=backup&local%5Fpath=%2Fhome%2Fadmin%2Fadmin%5Fbackups&owner=admin&select%30=user&type=admin&value=multiple&when=now&where=local
User::setQuota(0) user=user
quota command: /usr/sbin/setquota user 0 0 0 0 /
Quotas set
User::setQuota(0) user=user
quota command: /usr/sbin/setquota user 0 0 0 0 /
Quotas set
done queue
 
I presume this user was not suspended? If yes, unsuspend, make the backup, restore and then suspend again.

If he wasn't suspended I don't know the reason.
 
Eh... :/

One more strange bug: after restore backup I don't have external MX records:

in backup file, in domain.com.db:
Code:
domain.com.     300     IN      MX      20 ALT1.ASPMX.L.GOOGLE.COM.
domain.com.     300     IN      MX      20 ALT2.ASPMX.L.GOOGLE.COM.
(...)

but DA don't restore them ;( Restore every other DNS record, add mail MX 10 which don't exist in backup, also don't restore CNAME ghs.google.com. ;(
 
Hello,
should be
Are you replacing user with the username?
Code:
[COLOR=#333333]&select%30=user&
[/COLOR]should be
Code:
[COLOR=#333333]&select%30=[B]actualusername[/B]&
[/COLOR]
Also note that if you're using this command:
http://help.directadmin.com/item.php?id=198

then you'd be missing out on a few options.
Create the backup via:
Admin Level -> Admin Backup/Transfer

and select the options you want, and then type:
cat /usr/local/directadmin/data/task.queue

if you're looking to manually control when the backup is created, and with which options.

John
 
I'm NOT using this command (this was only for searching why this not working) - I use Admin Level -> Admin Backup -> Step 4 ALL DATA.

screenshot: 4fbd5fa050.jpg

# cat /usr/local/directadmin/data/task.queue
action=backup&database%5Fdata%5Faware=yes&email%5Fdata%5Faware=yes&local%5Fpath=%2F%5Fbackups&owner=admin&select%30=username&type=admin&value=multiple&when=now&where=local

and still username.tar.gz have everything but NO user files.

---

errortaskq.log has no errors.

---

I try on another server and there THAT SAME command is working and in *.tar.gz I have all files in /domains/*
Why that same not working on first server? ;(

---

in DA config:
skip_domains_in_backup=0

Found it! Ufffff http://www.directadmin.com/features.php?id=960
 
Last edited:
Back
Top