Skip to main content
added 53 characters in body
Source Link
jake
  • 1.4k
  • 11
  • 23

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card (I checked it with fsck.ext4 and badblocks -vsn), booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

What did I do wrong? Any help is appreciated!

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

What did I do wrong? Any help is appreciated!

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card (I checked it with fsck.ext4 and badblocks -vsn), booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

What did I do wrong? Any help is appreciated!

added 7 characters in body
Source Link
jake
  • 1.4k
  • 11
  • 23

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" root@irisroot@raspberrypi.local:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

DidWhat did I do something wrong? What could be the reason? Any help is appreciated!

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" root@iris.local:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

Did I do something wrong? What could be the reason? Any help is appreciated!

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" root@raspberrypi.local:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

What did I do wrong? Any help is appreciated!

edited body
Source Link
jake
  • 1.4k
  • 11
  • 23

I backuped my RPI following goldilock's Answeranswer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-Cardcard turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

Did I do something wrong? What could be the reason? Any help is appreciated!

I backuped my RPI following goldilock's Answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-Card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

Did I do something wrong? What could be the reason? Any help is appreciated!

I backuped my RPI following goldilock's answer (Can a Raspberry Pi be used to create a backup of itself?). Running this:

rsync -axHv --delete --exclude-from=rsync-exclude.txt --rsh="ssh" [email protected]:/ rpi_backup/

Where rsync-exclude.txt contains:

/proc/*
/sys/*
/dev/*
/boot/*
/tmp/*
/run/*
/mnt/*
  
.bash_history
/etc/fake-hwclock.data
/var/lib/rpimonitor/stat/

My sd-card turned into trash so I wanted to restore my backup. I copied a raspbian image to a working sd-card, booted my RPI with it once and then run:

sudo rsync -av --delete-during /something/rpi_backup /mnt/sdcard_partition2/

Then I tried to boot my pi, but ended up in emergency mode. I got some errors like failed to mount Configuration File System etc.

Did I do something wrong? What could be the reason? Any help is appreciated!

Source Link
jake
  • 1.4k
  • 11
  • 23
Loading