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
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user