Comments (3)
Hi,
i have the same problem i think, i made a backup (rsync) of rootfs which is on external hdd and tried to restore on a single SD card. i checked my fstab (of restored SD card) which is
proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1
and changed back my cmdline.txt to have root located again on mmcblk0p2 instead of /dev/sdaX
wc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
but no success.
message from console also gives an error and error codes code 23 and 95
sudo raspiBackup.sh -m detailed
--- RBK0009I: myhost: raspiBackup.sh V0.6.2 (aad4efd) started at Tue Jun 6 08:52:14 CET 2017
--- RBK0128I: Using logfile /backup/myhost/myhost-rsync-backup-20170606-085213/myhost-backup.log
--- RBK0116I: Using config file /usr/local/etc/raspiBackup.conf
--- RBK0151I: Using backuppath /backup
--- RBK0008I: Stopping services: 'service nginx stop & service php5-fpm stop & service postfix stop & service dovecot stop & service cron stop & service mysql stop'
--- RBK0081I: Creating backup of type rsync in /backup/myhost/myhost-rsync-backup-20170606-085213
--- RBK0036I: Saving partition layout
--- RBK0044I: Creating backup of boot partition in /backup/myhost/myhost-rsync-backup-20170606-085213/myhost-backup.img
--- RBK0045I: Creating backup of partition layout in /backup/myhost/myhost-rsync-backup-20170606-085213/myhost-backup.sfdisk
--- RBK0046I: Creating backup of master boot record in /backup/myhost/myhost-rsync-backup-20170606-085213/myhost-backup.mbr
--- RBK0133I: Using directory /backup/myhost/myhost-rsync-backup-20170605-095910 for hardlinks
--- RBK0158I: Creating native rsync backup "/backup/myhost/myhost-rsync-backup-20170606-085213"
--- RBK0085I: Backup of type rsync started. Please be patient
??? RBK0024E: Backup tool rsync received an error.
rsync: rsync_xal_set: lsetxattr(""/backup/myhost/myhost-rsync-backup-20170606-085213/usr/bin/systemd-detect-virt"","security.capability") failed: Operation not supported (95)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
!!! RBK0049W: Some files were changed or vanished during backup. RC 23 - ignoring change
--- RBK0007I: Starting services: 'service nginx start & service php5-fpm start & service postfix start & service dovecot start & service cron start'
--- RBK0010I: myhost: raspiBackup.sh V0.6.2 (aad4efd) stopped at Tue Jun 6 09:22:08 CET 2017
--- RBK0017I: Backup finished successfully
from raspibackup.
Hi tnmils,
please note: You have to update the root path in two places:
- /boot/cmdline.txt
- /etc/fstab
Re your xattr issue: That's not related to this issue. It's a known issue with extended attributes and nfs. rsync cannot save the extendend attributes because nfs does not support extended attributes even the used filesystem is ext4 which supports extended attributes.
You have following options:
- Remove the extended attributes from your system. Usually they are not that important.
- Remove -X from DEFAULT_RSYNC_BACKUP_OPTIONS="-aHAXx" and don't save extended attributes
- Save the backup on a direct attached USB disk with an ext4 partition
- Use tar backup
Hope this helps :-)
from raspibackup.
Issue fixed. raspiBackup now has a postprocessing step which updates the PARTUUIDs. Fix will be available with next raspiBackup version. See https://www.linux-tips-and-tricks.de/en/versionhistory for details.
from raspibackup.
Related Issues (20)
- Unable to run regular backup (manual run ok) HOT 15
- Ignore the ugly vanished source file error HOT 1
- Installer hangs very long if there is no internetconnection when some config should be updated
- raspiBackup Hangs on 'du -s' HOT 5
- Support external mounted partitions HOT 8
- Allow to specify for partition oriented backup which partitions should be restored
- Shrink last partition when a partition oriented backup was restored HOT 4
- No UUID updated in /boot/cmdline.txt & /etc/fstab HOT 5
- Regression test of Ubuntu 24-04 desktop and server HOT 1
- Enable to restore a backup into a loop device HOT 1
- Not working on Ubuntu 24.04 LTS - Raspberry Pi 4 and 5 HOT 11
- Error trying to save configuration for scheduled backup HOT 14
- Backup fails with error message RBK0164E HOT 4
- raspiBackup tar backup operation hangs in ls on Bookworm using cifs HOT 66
- Support external partitions in installer
- Refactor special device handling HOT 1
- Fehlercode: RBI0021E: Es kann nicht auf www.linux-tips-and-tricks.de zugegriffen werden. wget RC: 4 HOT 29
- Restore bricht mit Fehler " ??? RBK0137E: Rootbackupdatei fΓΌr den Typ tgz nicht gefunden" ab HOT 5
- Add a progress bar for backup processing
- backup.img RC 1 wenn Backup-Storage leer HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspibackup.