Hi, some time ago I was looking for a solution to this problem ... create a daily incremental backup (via snapshot).
I created a script (bat) that works I share with you ...
A snapshot is not a backup in any sense. Don't believe me? Then try deleting the base VDI and then see how easily you can recover data. I suggest that you make a real backup before trying this.
pre2si wrote:through a game of creation and renaming
Outside VirtualBox? And this thing works?
And just out of curiosity, why do you want to take an automatic daily snapshot? What's your goal?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
"Not strong enough dear Watson, not strong enough..."
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mpack wrote:Those are not backups, those are snapshots.
A snapshot is not a backup in any sense. Don't believe me? Then try deleting the base VDI and then see how easily you can recover data. I suggest that you make a real backup before trying this.
I know ... I just needed to create automatic daily snapshot (the script works perfectly, I've been testing it for months). I use it on virtual machines with small web services (wordpress redmine etc ..) If something happens I can go back.
I find it very useful (it is my opinion of course) ... I have only reported if it can be useful to someone
pre2si wrote:Hi, some time ago I was looking for a solution to this problem ... create a daily incremental backup (via snapshot).
I created a script (bat) that works I share with you ...
through a game of creation and renaming, backups always remain 5 ... of the previous 5 days (for example start the script every night)
can you please be more detailed of how to make it? i'm looking everywhere for automatic snapshots but i can't make up how to actually create the bat file. thank you so much!
Create a .bat script containing this code. For example I run the .bat via windows scheduled operation. This script is used to create automatic snapshot points (5). This script does not create backups!
It works perfectly without problems. I also use it on hyper-v machines (adapting the code via powershell).
Last edited by socratis on 4. Jul 2019, 09:17, edited 1 time in total.
Reason:Removed unnecessary verbatim quote of the whole previous message.
pre2si wrote: ↑20. Sep 2018, 18:58
Hi, some time ago I was looking for a solution to this problem ... create a daily incremental backup (via snapshot).
I created a script (bat) that works I share with you ...