Eldmannen Posted August 25, 2006 Share Posted August 25, 2006 Yesterday I bought a USB flash memory stick, it's have 1 gb space and USB 2.0 and did cost only 25€ or so. The one I bought is a Kingston DataTraveler. To have backup is very important, because you never know when the disk crash. Many people say backup is important but never bother to backup themself (me among them). But finaly I got a USB memory so I can now make backup of the most important files. 7-Zip comes with a command-line utility that is useful for making batch scripts with, and the .7z file format compresses really well. I made a batch script file called backup.bat @echo off echo ------------- echo Backup Script echo ------------- pause echo Backing up Artwork echo ----------------- "C:\Program Files\7-Zip\7z.exe" a backup-art.7z "D:\Artwork" echo Backing up Projects echo ----------------- "C:\Program Files\7-Zip\7z.exe" a backup-projects.7z "C:\Projects" echo Backing up Website echo ----------------- "C:\Program Files\7-Zip\7z.exe" a backup-web.7z "C:\Program Files\Apache\htdocs" echo Backing up My Documents echo ----------------- "C:\Program Files\7-Zip\7z.exe" a backup-mydoc.7z "%UserProfile%\My Documents" echo ----------------- echo Done! Then you open Command Prompt and run it, after that you just move the archives to the USB flash memory. It is possible to make the script move them for you if you want, using the "move" command, or to write them directly to the USB memory. You can also password protect the archive and use AES encryption. Link to comment Share on other sites More sharing options...
mps69_1999 Posted August 25, 2006 Share Posted August 25, 2006 I've just started using portable apps and I found this which might be of interest to you 7-zip My Webpage Googletalk Link to comment Share on other sites More sharing options...
Moderators Andavari Posted August 26, 2006 Moderators Share Posted August 26, 2006 In your backup script you can also have XCOPY or MOVE place the .7z archives onto the USB device for you automatically without any manually copying/moving. Link to comment Share on other sites More sharing options...
JohnDemolition Posted August 26, 2006 Share Posted August 26, 2006 I've just started using portable apps and I found this which might be of interest to you 7-zip i believe that's the GUI version for it . there's no point for a GUI in batch scripts. Link to comment Share on other sites More sharing options...
TheFiresInTheSky Posted August 29, 2006 Share Posted August 29, 2006 could this be used the oposite way? to back up the flash drive then store it on the pc? Link to comment Share on other sites More sharing options...
1984 Posted August 30, 2006 Share Posted August 30, 2006 eldmann, i got the exact same datatraveler. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now