HOW TO: Automated database backups (1 line of code + cPanel)
#84
(2012-01-26, 04:54 PM)cmoreira Wrote: Great script!!
Looking for something similar as martec - can i set up the script to backup only a specific folder?

i found solution...

tar -cvzpf /MY/BACKUP/LOCATION/BACKUPNAME.tar.gz /path/to/folder/

E-mail the backup:
To have the backup automatically e-mailed to you add this line to the file:

uuencode /MY/BACKUP/LOCATION/BACKUPNAME.tar.gz BACKUPNAME.tar.gz | mail [email protected]

Rest is same as http://community.mybb.com/thread-28950.html
Reply


Messages In This Thread
RE: HOW TO: Automated database backups (1 line of code + cPanel) - by martec - 2012-02-09, 03:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)