Backup without email (only db,files)

fabbietto

Verified User
Joined
Mar 2, 2010
Messages
21
Hi,

i have a server with 200 users but my last backups during too much(12 h) :eek:
i think the problem are the email account,many times too big.

Is there a way to make a backup only for db and files excluding email data?

Thanks
 
in this way i'll make a single big file contains user folder?
thanks
 
If you use System Backup (sysbk) you'll end up with a backup you can't easily restore.

Another way to backup a site without the email would be to use the user-level backup; there you can decide exactly what you want to backup.

Jeff
 
Ok by user-level,but i won't give to user the possibility to make backup ,and i would make backup one times a week for every user (200),i think the system level is the better solution in this case,or not?

I also try to call API(the one to make backup by user level) but the error is:

error=1&text=Unable to execute your request&details=You do not own that domain

thanks
 
Last edited:
Hello,

1) Lower the amount of space accounts use by having DA clear out old data:
Admin Level -> Admin Settings -> Automatically Purge Spambox/Trash Data

2) For the Admin Backup/Transfer, you can tell DA to skip certain folders:

imap folder: http://www.directadmin.com/features.php?id=1040

home.tar.gz (aka /home/user/Maildir): http://www.directadmin.com/features.php?id=934

domains directory: http://www.directadmin.com/features.php?id=960 (likely not what you're looking for)

3) For any large oversized Users, you can use the negation option to skip certain DA users from the backup: http://www.directadmin.com/features.php?id=1012

For those skipped Users and directories, other options, like the System Backup, could be used.

John
 
Seem to me that none of these procedures are valid anymore, as I could not locate anything with "skip" in directadmin.conf. We are fully up to date on all DA software, etc. Is these another means to be able to skip the Maildir folder under each user without having to perform the selection of sub-folders to backup under each user? This would be so tedious.
 
There are internal defaults, where the directadmin.conf simply overrides them.
A non-presence in the directadmin.conf does not imply they're not valid.
DA can tell you what's available, eg:
Code:
cd /usr/local/directadmin
./directadmin c
John
 
Back
Top