Hi,
I´m having a big problem with my linux machine trying to backup to a windows server.
My windows clients can make the file backup without any problems to my windows server.
Here is my logs:
28/07/16 22:33 INFO No log entries yet
28/07/16 22:33 DEBUG Getting client settings…
28/07/16 22:33 DEBUG Sending backup incr interval…
28/07/16 22:33 INFO Starting incremental file backup…
28/07/16 22:33 DEBUG backuppc: Doing backup with hashes…
28/07/16 22:33 DEBUG backuppc: Doing backup with intra file diffs…
28/07/16 22:33 DEBUG backuppc: Connecting for filelist…
28/07/16 22:33 DEBUG backuppc: Waiting for filelist
28/07/16 22:33 ERROR Cannot create directory Y:\urBackupVol01\backuppc\160728-2233 for backup (server error). Cannot create a file when that file already exists. (code: 183)
28/07/16 22:33 INFO Time taken for backing up client backuppc: 0ms
28/07/16 22:33 ERROR Backup failed
28/07/16 22:33 WARNING Exponential backoff: Waiting at least 40m before next file backup
28/07/16 22:33 INFO Backing up “” without snapshot.
28/07/16 22:33 INFO Indexing of “” done. 7 filesystem lookups 0 db lookups and 0 db updates
28/07/16 22:33 DEBUG backuppc: Doing backup with hashed transfer…
28/07/16 22:33 WARNING Directory “Y:\urBackupVol01\backuppc\160728-2233” does already exist.
28/07/16 22:33 WARNING Directory “Y:\urBackupVol01\backuppc\160728-2233.hashes” does already exist. - Cannot create a file when that file already exists. (errorcode=183)
28/07/16 22:33 ERROR Writing directory metadata to “Y:\urBackupVol01\backuppc\160728-2233.hashes\.dir_metadata” failed.
28/07/16 22:33 INFO Waiting for file transfers…
28/07/16 22:33 INFO Waiting for file hashing and copying threads…
28/07/16 22:33 INFO Saving file metadata…
28/07/16 22:33 INFO Writing new file list…
28/07/16 22:33 DEBUG Some metadata was missing
28/07/16 22:33 ERROR Fatal error during backup. Backup not completed
28/07/16 22:33 INFO Transferred 15.5693 KB - Average speed: 904.56 KBit/s
28/07/16 22:33 DEBUG Script does not exist urbackup\post_incr_filebackup.bat
28/07/16 22:33 INFO Time taken for backing up client backuppc: 11s
28/07/16 22:33 ERROR Backup failed
28/07/16 22:33 WARNING Exponential backoff: Waiting at least 1h 20m before next file backup
You somehow got an empty root folder in your file list (""). Could you post the output of urbackupclientctl list
on the linux machine?
root@linuxservices:~# urbackupclientctl list
PATH NAME FLAGS
/etc etc follow_symlinks,symlinks_optional,share_hashes
And here is the log from the server:
Erros
29/07/16 08:42
Writing directory metadata to “Y:\urBackupVol01\linuxservices\160729-0842.hashes\.dir_metadata” failed.
Erros
29/07/16 08:42
Fatal error during backup. Backup not completed
Erros
29/07/16 08:42
Backup failed
I notice that before the .dir_metadata has two slaches “\,dir_metadata”
It´s not permission, because other windows clients machines can do the backup perfectly.
The problem is with the 2 linux machines (Ubuntu server 16.04)
What’s the first line of head /usr/local/var/urbackup/data/filelist.ub
?
d"" 0 1469713093#orig_path=%2Fetc&orig_sep=%2F
Did you add the path with urbackupclientctl add
? Because it adds it with a empty name per default (bug). Will be fixed with the next version. Workaround:
urbackupclientctl remove -d /etc
urbackupclientctl add -d /etc -n foo
Problem Solved…
Just use the “-n” and begins to work.
Thanks a lot