Sending Backups to a different Drive
Sending Backups to a different Drive
Right now Vesta is backing up my site once a day to the server drive. I have an external drive hooked to the USB port. Is there any way to have the backups sent to the external drive. Seems like being on the server if the server drive goes down then you are hung out to dry no backups offsite. I would love to have some way to backup the whole bloody server to this external drive. Any ideas.
Server is Ubuntu 16.04 LTS
macmike
Server is Ubuntu 16.04 LTS
macmike
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Sending Backups to a different Drive
so simple... run a daily cron to copy your /backup dir to the external one
For Eg: if you have your USB Drive mounted under /usb
source : https://www.cyberciti.biz/faq/copy-fold ... mand-line/
For Eg: if you have your USB Drive mounted under /usb
Code: Select all
cp -avr /backup /usb/backup