fastoc / script /backup.sh
OpenCode Deployer
update
6c277ab
raw
history blame contribute delete
258 Bytes
#!/bin/bash
# 备份 /.system 文件
tar -czvf /.backup/.system.tar.gz --exclude-from=/.system/script/exclude_list_system.txt -C /.system .
# 备份 /root 文件
tar -czvf /.backup/root.tar.gz --exclude-from=/.system/script/exclude_list_root.txt -C /root .