Merge branch 'master' of ssh://git.mikeperalta.com:3222/misc-utilities/mikes-backup
This commit is contained in:
commit
7977b1d827
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user