changement du path btrfs
This commit is contained in:
parent
b665526c73
commit
4216e53d6a
@ -778,7 +778,7 @@ class backup_generic:
|
|||||||
self.logger.info('[%s] removing directory "%s"',self.backup_name,oldbackup_location)
|
self.logger.info('[%s] removing directory "%s"',self.backup_name,oldbackup_location)
|
||||||
if not self.dry_run:
|
if not self.dry_run:
|
||||||
if self.type =="rsync+btrfs+ssh" or self.type == "rsync+btrfs":
|
if self.type =="rsync+btrfs+ssh" or self.type == "rsync+btrfs":
|
||||||
cmd = "/sbin/btrfs subvolume delete %s"%oldbackup_location.encode('ascii')
|
cmd = "/bin/btrfs subvolume delete %s"%oldbackup_location.encode('ascii')
|
||||||
process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True)
|
process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True)
|
||||||
log = monitor_stdout(process,'',self)
|
log = monitor_stdout(process,'',self)
|
||||||
returncode = process.returncode
|
returncode = process.returncode
|
||||||
|
Loading…
Reference in New Issue
Block a user