Merge branch 'master' of ssh://git.mikeperalta.com:3222/misc-utilities/mikes-backup

This commit is contained in:
Mike 2020-04-07 18:11:59 -07:00
commit cda638cad9
1 changed files with 5 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class MikesBackup:
return False
#
self.log("Checking for remote destination path")
self.log("Checking for remote destination path: " + destination_path)
command = [
"[ -d " + destination_path + " ]"
]
@ -658,8 +658,11 @@ class MikesBackup:
"--compress",
"--progress",
"--stats",
"--verbose",
"--human-readable",
"--itemize-changes",
"--no-links",
"--one-file-system",
"--delete",
"--delete-excluded"
]
@ -764,6 +767,7 @@ class MikesBackup:
raise Exception("Unsupported command datatype")
# Spawn
# print(args)
process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# process = subprocess.Popen(args)
stdout, stderr = process.communicate()