I am backing up my jailbroken iphone using full filesystem rsync clone. The backup command is:
rsync -axvPH --numeric-ids --delete -e 'ssh -i /root/.ssh/ifone' \
iphone_IP_address:/private/var/mobile/Media/DCIM/ \
iphone_backup/private/var/mobile/Media/DCIM/ \
&& rsync -axvPH --numeric-ids --delete -e 'ssh -i /root/.ssh/ifone' \
iphone_IP_address:/private/var/ iphone_backup/private/var/ \
&& rsync -axvPH --numeric-ids -e 'ssh -i /root/.ssh/ifone' \
--delete iphone_IP_address:/ iphone_backup/
Restore command is:
cd iphone_backup/private/var
rsync -axPH --delete --numeric-ids --size-only --exclude=.fseventsd ./ iphone_IP_address:/private/var/
cd ../../
rsync -axPH --delete --numeric-ids --size-only --exclude=Applications --exclude=User --exclude=etc --exclude=private/var --exclude=.fseventsd --exclude=var ./ iphone_IP_address:/
Two times I've tried to restore two iphones (both 3GS) using the rsync copy and every time I am thrown into recovery mode after reboot, despite the fact that I am able to restore particular folders such as /private/var/mobile/Media or /private/var/mobile/Applications
Therefore I am concluding I *MUST*NOT* backup/restore certain files.
If that's the case, where can I find the list of files that I should not attempt to restore?