11-03-2007, 12:56 PM
11-03-2007, 05:25 PM
The easiest method for backup is using cron.
tar -czvf filename.tar.gz /path/to/directory/for/backup
That will tar.gz a directory recursively. If you also want to backup mysql then add a mysql dump BEFORE the tar command.
mysqldump -uUSERNAME -pPASSWORD mysqldatabasename > /path/to/your/backup/folder/filename.sql
Once the backup is created getting it on a local computer is the more difficult task. I normally cron and ftp to another unix server the backup file. Not sure of the best method for Windows if that's your desktop. I guess if you have FTP open and know the login details (ip, username,password) then it should be ok.
tar -czvf filename.tar.gz /path/to/directory/for/backup
That will tar.gz a directory recursively. If you also want to backup mysql then add a mysql dump BEFORE the tar command.
mysqldump -uUSERNAME -pPASSWORD mysqldatabasename > /path/to/your/backup/folder/filename.sql
Once the backup is created getting it on a local computer is the more difficult task. I normally cron and ftp to another unix server the backup file. Not sure of the best method for Windows if that's your desktop. I guess if you have FTP open and know the login details (ip, username,password) then it should be ok.
11-26-2007, 10:03 AM
I have made a detailed post on my blog regarding backing up websites and blogs in various ways with different tools.
You can check it here:
http://digital-musings.com/2007/11/16/a-...ress-blog/
If you find the information useful, please let me know through a comment.
You can check it here:
http://digital-musings.com/2007/11/16/a-...ress-blog/
If you find the information useful, please let me know through a comment.
08-19-2008, 06:38 AM
Usually I use the cPanel Backup feature, lazy I know but I've not any other option there is a lot on my space to backup and I do it usually once a week + MySQL databases (which I tend to backup more).