Jump to content

bat backkup


Brennan

Recommended Posts

yeah that could be it but how would I implement that into my bat file

I would use 7-zip (command line version) - that way you can compress the files too. if you need them to be not compressed (for speed) you could just make a non-compressed archive. I can't remember the exact parameters but if this sounds like it would be of any use, let me know and I'll upload my script when I get home (don't have it with me).

However if you want the files to be just files, and don't want to have to un-archive them later,

I would try XXcopy [http://www.xxcopy.com] - this obviously depends if you're using your script to do backups or for some other reason. Wanna give us some more info so we can help more ?

of course there's probably a way to do it with normal copy or xcopy but that would probably be os-dependent and seeing as I don't know whether you're running this on one OS or multiple (or even what your OS is for that matter), I've done a bit of guessing.

Rant over.

Link to comment
Share on other sites

I would use 7-zip (command line version) - that way you can compress the files too. if you need them to be not compressed (for speed) you could just make a non-compressed archive. I can't remember the exact parameters but if this sounds like it would be of any use, let me know and I'll upload my script when I get home (don't have it with me).

However if you want the files to be just files, and don't want to have to un-archive them later,

I would try XXcopy [http://www.xxcopy.com] - this obviously depends if you're using your script to do backups or for some other reason. Wanna give us some more info so we can help more ?

of course there's probably a way to do it with normal copy or xcopy but that would probably be os-dependent and seeing as I don't know whether you're running this on one OS or multiple (or even what your OS is for that matter), I've done a bit of guessing.

Rant over.

yeah that would be helpful for my other backups but for my music I have the web server enabled and I am backing up my music to the web folder this way when I am away with my eee I can listen to my whole collection so I need the music files to not be archived and just normal copies

Link to comment
Share on other sites

Check out Microsoft's SyncToy 2, it will automatically sync your PC with your archive server, laptop or anything else that can be reached with Samba.

http://www.lagesse.org/using-microsoft-syn...2-with-freenas/

good point. completely forgot synctoy. i use that to keep backups of websites I do on my USB stick, among other things. Does anyone know if synctoy is scriptable by command line? or would u have to do an autohotkey / autoit job on it ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...