在Debian系统下,可通过以下方式备份数据:
sudo tar -czvf /backup/backup-$(date +%Y-%m-%d).tar.gz --exclude=/proc --exclude=/sys /。rsync -avz /source/ user@remote:/destination/。duplicity --full-if-older-than 7D /source file://destination。ninja-config 配置任务。tar/rsync,并通过 crontab 设置定时任务,如每日凌晨执行备份。注意:
/etc、/home)已备份。