Backup without /home/user folder

OvcaX

Verified User
Joined
Sep 25, 2008
Messages
18
Hi

We have a huge user to migrate.
Is there any chance to backup user without /home/user folder (that i would rsync over)?

Best
Domen
 
Hi

Yes this also adds home dir of the user to tar.gz.
I wana avoid this and only backup settings

Best,
Domen
 
Add the following lines to your /usr/local/directadmin/conf/directadmin.conf file:

Code:
skip_databases_in_backups=1
skip_domains_in_backups=1
skip_imap_in_backups=1

Remember to restart DirectAdmin after you have saved those config file changes:

/etc/init.d/directadmin restart

---

skip_databases_in_backups=1: This will exclude all MySQL databases during the backup process.
skip_domains_in_backups=1: This will exclude all domains (website files) during the backup process.
skip_imap_in_backups=1: This will exclude all email messages which are stored in user mailboxes during the backup process.

You can use =0 if you want to include those items.
 
Back
Top