OpenCode Deployer commited on
Commit
49e0291
·
1 Parent(s): 33593ab
Files changed (1) hide show
  1. script/backup.sh +2 -2
script/backup.sh CHANGED
@@ -1,5 +1,5 @@
1
  # 备份 /.system 文件
2
- tar -czvf /.backup/.system.tar.gz --exclude-from=exclude_list_system.txt -C /.system .
3
 
4
  # 备份 /root 文件
5
- tar -czvf /.backup/root.tar.gz --exclude-from=exclude_list_root.txt -C /root .
 
1
  # 备份 /.system 文件
2
+ tar -czvf /.backup/.system.tar.gz --exclude-from=/.system/script/exclude_list_system.txt -C /.system .
3
 
4
  # 备份 /root 文件
5
+ tar -czvf /.backup/root.tar.gz --exclude-from=/.system/script/exclude_list_root.txt -C /root .