j'ai un ti problème avec mon script de backup sous proxmox.
j'ai créé un script:
et quand je l'exécute j'ai ca:#!/bin/bash
vzdump --suspend --dumpdir /home/ftp_backup --tmpdir /var/lib/vz/vztmp --mailto *******@gmail.com --all
le dossier ftp_backup est en faite le serveur ftp backup de ovh monté dans ce dossier par le biais de curlftpfs, ce que je pige pas c'est que je peux écrire nickel en root mais le script peut pas oOINFO: starting new backup job: vzdump --suspend --dumpdir /home/ftp_backup --tmpdir /var/lib/vz/vztmp --mailto ******@gmail.com --all
INFO: Starting Backup of VM 101 (openvz)
INFO: CTID 101 exist mounted running
INFO: status = CTID 101 exist mounted running
INFO: backup mode: suspend
INFO: bandwidth limit: 10240 KB/s
INFO: starting first sync /var/lib/vz/private/101/ to /var/lib/vz/vztmp/vzdumptmp12981
INFO: Number of files: 53835
INFO: Number of files transferred: 42765
INFO: Total file size: 28665777485 bytes
INFO: Total transferred file size: 28662323249 bytes
INFO: Literal data: 28662323249 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 1246170
INFO: File list generation time: 0.039 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 28668932920
INFO: Total bytes received: 866612
INFO: sent 28668932920 bytes received 866612 bytes 7864435.48 bytes/sec
INFO: total size is 28665777485 speedup is 1.00
INFO: first sync finished (3645 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: suspend...
INFO: get context...
INFO: Checkpointing completed succesfully
INFO: starting final sync /var/lib/vz/private/101/ to /var/lib/vz/vztmp/vzdumptmp12981
INFO: Number of files: 53835
INFO: Number of files transferred: 9
INFO: Total file size: 28665779960 bytes
INFO: Total transferred file size: 8159090 bytes
INFO: Literal data: 8986 bytes
INFO: Matched data: 8150104 bytes
INFO: File list size: 1246170
INFO: File list generation time: 0.040 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 1279687
INFO: Total bytes received: 33704
INFO: sent 1279687 bytes received 33704 bytes 32429.41 bytes/sec
INFO: total size is 28665779960 speedup is 21825.78
INFO: final sync finished (40 seconds)
INFO: resume vm
INFO: Resuming...
INFO: vm is online again after 41 seconds
INFO: creating archive '/home/ftp_backup/vzdump-openvz-101-2010_07_01-10_46_52.tar'
INFO: sh: /home/ftp_backup/vzdump-openvz-101-2010_07_01-10_46_52.dat: No such file or directory
ERROR: Backup of VM 101 failed - command '(cd /var/lib/vz/vztmp/vzdumptmp12981;find . '(' -regex '^\.$' ')' -o '(' -type 's' -prune ')' -o -print0|tar cpf - --totals --sparse --numeric-owner --no-recursion --ignore-failed-read --one-file-system --null -T - |cstream -t 10485760 >/home/ftp_backup/vzdump-openvz-101-2010_07_01-10_46_52.dat )' failed with exit code 1
cp: cannot create regular file `/home/ftp_backup/vzdump-openvz-101-2010_07_01-10_46_52.log': No such file or directory
une idée du truc?
merci