(09-06-2015, 05:06 PM)mettacell Wrote:(09-06-2015, 04:56 PM)bbspike Wrote: You could use the following commands:
Backup sentora+hosts:
find /var/sentora -path '*.*/.*' -prune -o -type f -print | zip /choosedirectory/`date +%a-%d-%b-%H-%M`-backup.zip -@
Backup all sql:
mysqldump -u root -ps(root password) --events --all-databases| gzip > /choosedirectory/`date +%a-%d-%b-%H-%M`-backup.sql.zip
You can put these commands in a cronjob to run every nicht.
Thank you for the reply. But can we schedule an FTP upload too?
You can make te directorys for above commands Mount to a NAS or something.