Jump to content

boot/root partition backup with tar ?


iwl

Recommended Posts

Hi Forum,

 

can I completely backup and restore Armbian boot/root/data partitions with tar (or something similar) and dates, rights, everything is saved and restored and the system boots?

 

I've used Clonezilla up to now, to backup the sd-cards  but some say is not needed and runs only on pcs.

 

I would like to backup the sd-cards of one pi with one other.

 

Link to comment
Share on other sites

I do exactly this with my ARM server rack to backup each server. My crontab (runs on machine to back up) looks something like:

 

# Backup root file system
00 01 * * 0 tar -cvpzf /backuppath/servname.backup.`date +\%Y\%m\%d_\%H\%M\%S`.tar.gz --one-file-system /. > /backuppath/servname.backup.log 2>&1

 

 

IMG_20180121_084309.jpg

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines