I need to change when backups run
#12
RE: I need to change when backups run
I took the script from [Me.B] and updated the paths from zpanel to sentora, changed the first line to /usr/bin/bash so it could find the interpreter, updated the name of the database to sentora_core,  and then saved it to /usr/local/bin/backupuserfiles.sh. After that it took some tweaking to get the folder and file paths I use (non-standard) to work properly, but this is doing backups in a format that is more than acceptable when I run it. Now all I need to do is schedule it with cron and also my cron job that rsyncs the offsite backups and I should be in good shape.

Thank you everyone for your help.
Reply


Messages In This Thread
I need to change when backups run - by Shasta.com - 10-31-2017, 06:42 AM
RE: I need to change when backups run - by Me.B - 10-31-2017, 07:38 AM
RE: I need to change when backups run - by Me.B - 11-01-2017, 01:46 AM
RE: I need to change when backups run - by TGates - 11-01-2017, 03:30 AM
RE: I need to change when backups run - by TGates - 11-01-2017, 05:21 AM
RE: I need to change when backups run - by TGates - 11-02-2017, 06:51 AM
RE: I need to change when backups run - by Shasta.com - 11-02-2017, 07:38 AM
RE: I need to change when backups run - by TGates - 11-03-2017, 02:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
change username from email umarzuki@gmail.com 0 2 ,304 11-25-2022, 05:46 PM
Last Post: umarzuki@gmail.com
Number of backups kept frasina92 1 4 ,942 09-18-2019, 11:20 PM
Last Post: Ron-e
Database - Change localhost to %localhost% JSmith 1 6 ,190 09-11-2019, 09:19 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 2 Guest(s)