diff --git a/BackupScript/Backup.sh b/BackupScript/Backup.sh index 6dcc4b3..a9607e8 100644 --- a/BackupScript/Backup.sh +++ b/BackupScript/Backup.sh @@ -40,10 +40,10 @@ OFILEFINAL=$OFILE.img sync; sync # Shut down some services before starting backup process -echo "Stopping some services before backup." -service apache2 stop -service mysql stop -service cron stop +#echo "Stopping some services before backup." +#service apache2 stop +#service mysql stop +#service cron stop # Begin the backup process, should take about 1 hour from 8Gb SD card to HDD echo "Backing up SD card to USB HDD." @@ -55,10 +55,10 @@ pv -tpreb /dev/mmcblk0 -s $SDSIZE | dd of=$OFILE bs=1M conv=sync,noerror iflag=f RESULT=$? # Start services again that where shutdown before backup process -echo "Start the stopped services again." -service apache2 start -service mysql start -service cron start +#echo "Start the stopped services again." +#service apache2 start +#service mysql start +#service cron start # If command has completed successfully, delete previous backups and exit if [ $RESULT = 0 ];