changement du path btrfs

This commit is contained in:
Vincent MAUGER 2020-06-11 11:43:39 +02:00
parent 4216e53d6a
commit ac3a3975e7

View File

@ -15,7 +15,7 @@ for backup in backups:
base_dir = os.path.join(backup_base_dir,backup)
dest_dir = os.path.join(base_dir, 'last_backup')
if not os.path.isdir(dest_dir):
cmd = "/sbin/btrfs subvolume create %s"%dest_dir
cmd = "/bin/btrfs subvolume create %s"%dest_dir
print 'btrfs subvolume create "%s"' %dest_dir
print subprocess.check_output(cmd, shell=True)