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

This commit is contained in:
Mike 2020-04-07 18:10:31 -07:00
commit aa950740e0

View File

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