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
#
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()