I've never done scripting in a windows environment, I was a mainframe guy. I could do this in my sleep on an AS/400, and often did. I will try to make these requirements as complete as I always wished my users had done.
Here's what I want to do:
Every day at 3pm I want to copy the standard "Shared Pictures" folder on Drive D to a hard drive called Drive Z. It is on the same PC running Windows Home Server 2011. Backup can take as long as it needs (if it isn't complete in 2 hours a warning would be nice but not required.)
I want it to create a new folder on the Z drive every day called "Backup Photos - CCYYMMDD." Obviously, that would be the date of the backup.
I want it to keep 7 daily backup folders, deleting the oldest as appropriate.
Once a week, it creates a new folder called "Weekly save - CCYYMMDD" and makes a backup in that folder.
System will retain 4 weekly saves, deleting the oldest as appropriate.
Every 4 weeks, it creates a "Monthly save - CCYYMMDD," creating a backup in that folder.
System will retain 4 monthly saves, deleting the oldest as appropriate.
There will be 1 yearly save every 12 months, with no automatic deletion process.
- each backup will be a full backup. No incremental changes.
- some kind of warning would be nice if a backup fails. Text message, email, pop-up message across all systems on LAN, whatever.
- If network warnings are easy then sending me a message that backup was successful would be ok. But not across all systems. Just Steve-PC.
- Then someone has to teach me how to plug a script into windows because I have no idea. Probably something to do with scheduling. Again, I wasn't a Windows developer.
++++++++++++++++++++
My server is already do incremental backups of itself, but I need to launch the restore process to see if it is actually working. It's probably fine, but I can't just look at it and know. This way I will actually be able to see the folders and files and compare folder sizes and get a good idea it is working.
Write me a script - You will make baby jesus smile if you do
Once a week, it creates a new folder called "Weekly save - CCYYMMDD" and makes a backup in that folder.
...
Every 4 weeks, it creates a "Monthly save - CCYYMMDD," creating a backup in that folder.
End of week, end of month? Also, unless you go by lunar calendar, 4 weeks != month.
Probably something to do with scheduling.
Yeah. That takes care of most of your annoying tasks for you. One scheduled task for daily, one for weekly, one for monthly, one for yearly. Taking out one of these tasks means you're pretty much done with the others.
Got a buddy of mine stopping by, but I can bang out the DOS script after that.
Edited By Malcolm on 1416792140
Diogenes of Sinope: "It is not that I am mad, it is only that my head is different from yours."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Arnold Judas Rimmer, BSC, SSC: "Better dead than smeg."
Dude, just fucking get Crashplan and stop trying to make life hard for yourself.
Just set it up, and never worry about this crap again. Even deleted files are never gone.
Just set it up, and never worry about this crap again. Even deleted files are never gone.
CrashPlan stores deleted files based on your version retention settings (the default setting is to never remove deleted files from your backup archive).
It's not me, it's someone else.
Not important, every 4 weeks is good enough to call it a monthly. Just need generally.Malcolm wrote:End of week, end of month? Also, unless you go by lunar calendar, 4 weeks != month.Once a week, it creates a new folder called "Weekly save - CCYYMMDD" and makes a backup in that folder.
...
Every 4 weeks, it creates a "Monthly save - CCYYMMDD," creating a backup in that folder.
"Be bold, and mighty forces will come to your aid."
TheCatt wrote:Dude, just fucking get Crashplan and stop trying to make life hard for yourself.
Just set it up, and never worry about this crap again. Even deleted files are never gone.CrashPlan stores deleted files based on your version retention settings (the default setting is to never remove deleted files from your backup archive).
I was going to set up off site backups as soon as I had the local backups automated, but go ahead and send me another invite. No idea where the first one you sent is. (edit - gmail found it)
I'll have to do incrementals because I can't be uploading 70GB every day.
Edited By GORDON on 1416795496
"Be bold, and mighty forces will come to your aid."
I'm looking at the app for the local backups now, but I don't think it is going to give me what I want, I.E. multiple backup copies that I can visibly verify.Malcolm wrote:I'll let you tackle the app for this thing. It'll have a zillion more bells and whistles than a script.
"Be bold, and mighty forces will come to your aid."
You can use Bittorrent Sync to sync files across two computers. I'm not sure if it works for two locations, but may be worth looking at.
It's not me, it's someone else.