List the backup contents
This commit is contained in:
parent
319aab9f00
commit
ef62fbbbcf
|
@ -2125,6 +2125,7 @@ function create_backup_script {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo 'sync' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
echo 'sync' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||||
|
echo 'ls -lh $USB_MOUNT/backup' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||||
echo "umount $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME
|
echo "umount $USB_MOUNT" >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||||
echo 'if [ ! "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
echo 'if [ ! "$?" = "0" ]; then' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||||
echo ' echo "Unable to unmount the drive. This means that the backup did not work"' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
echo ' echo "Unable to unmount the drive. This means that the backup did not work"' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||||
|
|
Loading…
Reference in New Issue