"Admin Backups" and "System Backups"

IPaddress

Verified User
Joined
Feb 21, 2004
Messages
86
Hi.
Im Running Directadmin 1.33.7 on a Centos 5 Final.
We are doing 2 Backups: "admin-backups" and "system-backup".

Admin level: "System Backup":
From "system-backup we have backups from the last 7 days, cause all of them are being stored in folders with different names.

Admin level: "Admin Backup/Transfer":
From "admin-backups" we only have only one day cause Directadmin automatically store them in the same folder via FTP.
Is there any way i can make Directadmin backup in different folders the "admin-backups" to store more than one day?

Its very important cause in "admin backups" are all the EMails of all the accounts in every domain!


Thanks in advance.
Bye.
 
This has been discussed previously in these forums. Please search.

Jeff
 
ive a script backup.sh made in this way:

Code:
mkdir /backup/admin_backups_$(date +\%d_\%m_\%Y)
mv /backup/admin_backups/* /backup/admin_backups_$(date +\%d_\%m_\%Y)/

and a crontab that execute that backup the day after DA Admin Backup

Code:
0 3 * * 1 /backup/backup.sh >/dev/null 2>&1

ofc i changed default backup directory of my system for work on a second driver, so, path should be different for you

this way ive a weekly backup in separated directory with made like
admin_backups_03_08_2009 admin_backups_10_08_2009

i hope is fine for you too
 
ive a script backup.sh made in this way:

Code:
mkdir /backup/admin_backups_$(date +\%d_\%m_\%Y)
mv /backup/admin_backups/* /backup/admin_backups_$(date +\%d_\%m_\%Y)/

and a crontab that execute that backup the day after DA Admin Backup

Code:
0 3 * * 1 /backup/backup.sh >/dev/null 2>&1

ofc i changed default backup directory of my system for work on a second driver, so, path should be different for you

this way ive a weekly backup in separated directory with made like
admin_backups_03_08_2009 admin_backups_10_08_2009

i hope is fine for you too

I've done this and works fine :)
Thanks for the advise!

Bye.
 
ive a script backup.sh made in this way:

Code:
mkdir /backup/admin_backups_$(date +\%d_\%m_\%Y)
mv /backup/admin_backups/* /backup/admin_backups_$(date +\%d_\%m_\%Y)/

and a crontab that execute that backup the day after DA Admin Backup

Code:
0 3 * * 1 /backup/backup.sh >/dev/null 2>&1

ofc i changed default backup directory of my system for work on a second driver, so, path should be different for you

this way ive a weekly backup in separated directory with made like
admin_backups_03_08_2009 admin_backups_10_08_2009

i hope is fine for you too

Ah, a very much needed script! Thanks!
 
Back
Top