It looks like you're new here. If you want to get involved, click one of these buttons!
Hi,
I am new to acrosync - I just tried PhotoBackup for iphone. It is great and easy to use, thanks for the good work!
A little bit of backgroup info - I have iPhone 6 64GB with IOS 9. It is almost full with pictures and long videos. There are about 1000 pciture files, and a few hundred video files. The biggest video file is about 3GB each.
I have Rsync server setup on the NAS in the deamon mode. Version 3.0.9.
After running PhotoBackup, it created three folders:
[base]/~
[base]/100APPLE
[base]/101AAPLE
The sync took about 2 hours, with no errors on the client side or in the rsync deamon server log.
However, I found out that only ~600 files were synced, so a good chunk of files were missing. Repeated sync attempts didn't find or upload any new files.
What's strange is that if I try manual selection of files to sync, I can see the missing pictures/videos in the PhotoBackup app. If I select a few to sync manully, it worked fine, with the files uploaded directly under the [base] directory on the NAS. So it feels that the app can actually find all photos, but the auto sync all somehow skipped a batch of those.
I think a rsync client is really useful for iphone. I'm happy to help iron out the issues if I can.
Comments
I remember while I was playing with the uploading original/edited option, there was one time syncing had an error saying something like "(some function) returned nil but no error, could be an IOS bug". Not sure if it was related.
I can try more logging on the server side that helps. Let me know. Thanks!
By "device log" you mean the app log on iphone? I am not sure where/how to get that log - could you tell me what the procedure is? I'll check and report.
After removing .photobackup file and try syncing, I got:
Sep 30 01:24:15 iPhone6-2014 PhotoBackup[479] <Warning>: FATAL RSYNC_ERROR rsync: link_stat "/.photobackup" (in iphone6) failed: No such file or directory (2)
Then, it proceeded with index building and finished shortly afterwards. I saw no other messages in the syslog from PhotoBackup.
I tried to see if I can log rsync transfer details on the rsync daemon server side, so far I couldn't figure out how to do that. My rsyncd.conf has:
max verbosity = 5
transfer logging = true
and I started rsync with --daemon and --verbose. However, it still only logs client connections, with no detailed file transfer list etc. If you know how to do that, let me know and I can try to see if the rsync deamon mentioned any of those ~300 missing files.
Anything else I can try to find out what the issue is?
In the mean time, I played with it some more:
1) If I go to iphone: photos->Albums, (iOS 9.0.1) I see 1311 photos under 'Camber Roll', 350 videos. 2 Slo-mo, 1 Time-laps. After I remove .photobackup file and hit the 'Backup Camera Roll' button in the app, it says briefly: indexing xxxx of 1311, then indexing xxxx of 352. However, the final .photobackup file has only 553 jpg files and 201 mov files. So it seems the index building process has all the files ( although I have 350+2+1=353 videos, indexing has 352). In the end, 758 photos and 152 videos were missing. Just to confirm, On iPhone, the reported photo/camera storage usage was 45.5GB. On the NAS, the upload directory has only 20.7GB.
I managed to get a bit more logging on the NAS rsync daemon side. One thing I noticed is some of the entries have wrong time-stamp, it is off by 4 hours. I suspect it has something to do with the iphone rsync client. Not sure if it is related. Since the serve can control 'max verbosity', it maybe beneficial to always specify most verbose logging on the client side ( for example, if I start a normal linux rsync client with '-avvv', I get tons of useful debugging message in the server log, including the detailed filelist and total number of files etc).
=======
2015/10/01 21:57:56 [16363] connect from UNKNOWN (192.168.1.12)
2015/10/02 01:57:56 [16363] rsync to iphone6/ from UNKNOWN (192.168.1.12)
2015/10/02 01:57:56 [16363] receiving file list
2015/10/02 01:57:56 [16363] sent 38 bytes received 6278 bytes total size 14891765005
2015/10/01 21:57:57 [16365] name lookup failed for 192.168.1.12: Name or service not known
2015/10/01 21:57:57 [16365] connect from UNKNOWN (192.168.1.12)
2015/10/02 01:57:57 [16365] rsync to iphone6/ from UNKNOWN (192.168.1.12)
2015/10/02 01:57:57 [16365] receiving file list
2015/10/02 01:57:57 [16365] recv UNKNOWN [192.168.1.12] iphone6 () .photobackup 19546
2015/10/02 01:57:57 [16365] sent 54 bytes received 19644 bytes total size 19546