boot/root partition backup with tar ?
0

2 posts in this topic

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.

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

0

  • Support the project

    We need your help to stay focused on the project.

    Choose the amount and currency you would like to donate in below.