vzdump backslash problem causing skipped files
Hi. I've found a peculiar problem using vzdump that can cause skipping of backup files. Here's an earlier backup log displaying the problem:
And here's how the files can be seen inside the VE with ls:
Could you please help with addressing this? All I can see is, when backslashes are used in the file name, the above error message is seen and the source files are skipped. I've verified they're not in the archive. On another note, I have some files with Japanese characters in their names, they are correctly backed up (that filename with question marks is an example).
Some version info:
Hi. I've found a peculiar problem using vzdump that can cause skipping of backup files. Here's an earlier backup log displaying the problem:
Code:
Sep 03 23:44:18 INFO: Starting Backup of VM 103 (openvz)
Sep 03 23:44:18 INFO: CTID 103 exist mounted running
Sep 03 23:44:18 INFO: status = CTID 103 exist mounted running
Sep 03 23:44:18 INFO: backup mode: snapshot
Sep 03 23:44:18 INFO: bandwidth limit: 10240 KB/s
Sep 03 23:44:18 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-vmaster-0')
Sep 03 23:44:18 INFO: Logical volume "vzsnap-vmaster-0" created
Sep 03 23:44:19 INFO: creating archive '/backup/vzdump/vzdump-openvz-103-2010_09_03-23_44_18.tgz'
Sep 03 23:45:52 INFO: tar: ./home/user/testapp/log/test/what\a\bot.log: Warning: Cannot stat: No such file or directory
Sep 03 23:47:31 INFO: tar: ./home/user/test/what\a\bot.log: Warning: Cannot stat: No such file or directory
Sep 03 23:47:31 INFO: tar: ./home/user/test/this\\is\a\file: Warning: Cannot stat: No such file or directory
Sep 03 23:58:51 INFO: Total bytes written: 10807992320 (11GiB, 12MiB/s)
Sep 03 23:58:51 INFO: archive file size: 8.04GB
Sep 03 23:58:51 INFO: delete old backup '/backup/vzdump/vzdump-openvz-103-2010_07_28-17_51_20.tgz'
Sep 03 23:59:01 INFO: Logical volume "vzsnap-vmaster-0" successfully removed
Sep 03 23:59:01 INFO: Finished Backup of VM 103 (00:14:43)
Code:
$ ls -la /home/user/test/
total 12
drwxr-xr-x 2 user user 4096 2010-01-12 01:09 .
drwxr-x--x 13 user user 4096 2010-09-22 11:26 ..
-rw-r--r-- 1 user user 0 2010-01-12 00:31 a?¦a??a?¨
-rw-r--r-- 1 user user 0 2010-01-12 00:32 this\is\a\file
-rw-r--r-- 1 user user 1129 2010-01-12 01:09 what\a\bot.log
$ cd /home/user/testapp/log/test/
$ ls -la what*
-rw-rw-rw- 1 user user 1129 2007-06-18 22:46 what\a\bot.log
Some version info:
Code:
pve-manager: 1.5-10 (pve-manager/1.5/4822)
running kernel: 2.6.24-11-pve
proxmox-ve-2.6.24: 1.5-23
pve-kernel-2.6.24-11-pve: 2.6.24-23
pve-kernel-2.6.24-8-pve: 2.6.24-16
qemu-server: 1.1-16
pve-firmware: 1.0-5
libpve-storage-perl: 1.0-13
vncterm: 0.9-2
vzctl: 3.0.23-1pve11
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.4-1
Last edited: