Jump to content

Hey so my Minecraft server just crashed and I didn't have an auto backup, but luckily I had one from a few days ago. Because of that I decided to create an auto backup. I just tested this script that I found online:

 

set mydate=%date:~-4%-%date:~3,2%-%date:~0,2%

"C:\Program Files\WinRAR\Rar.exe" a -r -m5 "C:\Users\Samya Daleh\Desktop\backup_%mydate%.rar" "C:\Users\Samya Daleh\Documents"

 

But, the file name turns out like the one I have attached. How do I fix this? And also, I am planning on doing the backup twice a day. Is there a way too also add like name-date-1, or like name-date-2?. Thanks!

Link to comment
https://linustechtips.com/topic/1344879-server-auto-backup-with-dates-minecraft/
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×