Add extra backup locations. Did this a few days ago but it seems it did not get pushed and the commit disappeared.
This commit is contained in:
@@ -24,8 +24,10 @@ echo -e "\n`date` - Take down services for a cold backup."
|
||||
manage.sh -d
|
||||
|
||||
echo -e "\n`date` - Create the backup for '$DOCKER_HOME'."
|
||||
cd $DOCKER_HOME
|
||||
$time zip -r $file.tmp . 1>/dev/null
|
||||
$time zip -r $file.tmp \
|
||||
$DOCKER_HOME \
|
||||
/etc/crontab /etc/cron.d /var/spool/cron \
|
||||
/var/{log,mail} 1>/dev/null
|
||||
mv -v $file.tmp $file
|
||||
|
||||
echo -e "\n`date` - Done with zipping, check size."
|
||||
|
Reference in New Issue
Block a user