Making a backup and send it to another server.
Hello everyone;
I´m makign a cron job wich this Code:
rsync -ravz files_to_backup user@IP:folder_target I wonder to know wich one is your opinion about this. Best regards; ADumith |
That's pretty much what I used to use for remote backups, so you're on the right track.
|
Quote:
Thanks again. |
I'd write a simple bash script to do it then if you've multiple items, then you can run the script and it'll do your rsyncs in order. Then run your script as the cron job.
|
Quote:
|
Code:
#!/bin/bash |
Quote:
Thanks a lot for you reply. One more question: This script work for incremental backup or just replace the old one files? Thanks again... |
Just replaces
|
Great, thanks a lot for your help.
Have a nice day..... |
All times are GMT -5. The time now is 03:10 PM. |