error in creating inc or diff backup #141
-
Version used Describe the bug Expected behavior Hypervisor information:
Logfiles: full backup log : [2023-10-24 09:51:16] INFO lib common - printVersion [MainThread]: Version: 1.9.44 Arguments: /usr/local/bin/virtnbdbackup -d 20231024-082035620420084-158_test-backup -l full -o /opt/kvm_pool/HDD/ |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
your dif fbackup fails with: [2023-10-24 09:50:08] ERROR root virtnbdbackup - main [MainThread]: No existing checkpoints found, execute full backup first. your full backup failed with:
but no log was provided that suggests wether if the full backup done before was successful for not. Something has failed before or you have an issue with your workflow. Please provide logfile for the FIRST backup placed in /opt/kvm_pool/HDD/ During the first full backup the backup should have created a file /opt/kvm_pool/HDD/<vm_name>.cpt in your case: 0231024-082035620420084-158_test-backup.cpt where it stores the list of checkpoints. During the diff backup, no checkpoints are found:
and thats pretty strange. Please make sure you use one folder per backup set and placethe backups virtnbdbackup -d 20231024-082035620420084-158_test-backup -l full -o /opt/kvm_pool/HDD/weekly-vm1 If you create a new full backup, rotate folders: virtnbdbackup -d 20231024-082035620420084-158_test-backup -l full -o /opt/kvm_pool/HDD/monthly-vm1 |
Beta Was this translation helpful? Give feedback.
-
i have removed the directory and created this this is the first full successfull backup : virtnbdbackup -d 20231024-082035620420084-158_test-backup -l full -o /opt/kvm_pool/HDD/monthly-test-backup and again when i want to create an incremental backup i go to the vm and create some directories and files then i type the command sync and then i try to create the incremental backup. as you can see in the details below : in the host : >> i have added . what do you suggest me to do ? do i need to upgrade my libvirt version ? i will test that too |
Beta Was this translation helpful? Give feedback.
-
also this is what i have in the fullbackup directory : root@hv15:/opt/kvm_pool/HDD/monthly-test-backup# du -h * |
Beta Was this translation helpful? Give feedback.
-
The Virtual machine was offline during first Backup! Full Backup that is required as base for further backups Must be taken if vm is online and running, bcs only then libvirt can create Checkpoints! setOfflineArguments [MainThread]: Domain is offline, resetting backup options. Please ensure vm is running while taking Full backup |
Beta Was this translation helpful? Give feedback.
The Virtual machine was offline during first Backup! Full Backup that is required as base for further backups Must be taken if vm is online and running, bcs only then libvirt can create Checkpoints!
setOfflineArguments [MainThread]: Domain is offline, resetting backup options.
[2023-10-25 00:51:20] INFO root virtnbdbackup - setOfflineArguments [MainThread]: Backup level: [copy].
Please ensure vm is running while taking Full backup