Be the first to rate this file! 131 downloads (last 30 days) File Size: 3.38 KB File ID: #25464

Virtual Backup Using MATLAB

by Divakar Roy

 

01 Oct 2009 (Updated 22 Nov 2009)

Code covered by BSD License  

Backup Utility

Download Now | Watch this File

File Information
Description

This is a utility to "Virtually" backup all your data (files and folders, hidden and not hidden). Now what I mean by being virtually is that the backed up data won't have the actual file contents, but will be almost zero sized but with full file extension and all directories as they are in the source directory/drive. So, it's a useful backup utility when you have alternate source to re-get the lost data, if lost.

How the Idea came: Well I am having lots of music files and albums and was scared to lose them, and doing actual backup of such large data isn't possible. For a directory sized 183 GB containing music, video and other files in external hard drive, having 29835 files in 2301 directories took 155 seconds for the virtual backup. The Backup directory when zipped yields a zipped image file sized just 7.64 MB, small enough to be kept in computer.

This is also nice utility when you have to search something on an external hard drive; you can do the same search on the zipped image file and save that extra time on connecting the drive.

There are two version of codes uploaded: First Version makes exact copy of the source directory/drive and Second version does the same as first one plus zips the image.

And Guess What! You can backup the whole drive i.e. an entire partition!

So, hoping this will be useful to someone out there.

*Screenshot taken from: http://webserver.computoredge.com/editorial/2646/in1print.htm*

MATLAB release MATLAB 7.8 (R2009a)
Zip File Content  
Other Files license.txt,
Readme.txt,
virtual_backup.m,
virtual_backup_with_zipping.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
04 Oct 2009

Added Screenshot :)

06 Oct 2009

Added zipped version.

22 Nov 2009

Updated Readme.txt for more info.

Tag Activity for this File
Tag Applied By Date/Time
backup Divakar Roy 02 Oct 2009 14:48:17
matlab Divakar Roy 02 Oct 2009 14:48:17
utility Divakar Roy 02 Oct 2009 14:48:17
tool Divakar Roy 02 Oct 2009 14:48:17
compress Divakar Roy 02 Oct 2009 14:48:17
save Divakar Roy 02 Oct 2009 14:48:17
large Divakar Roy 02 Oct 2009 14:48:17
data Divakar Roy 02 Oct 2009 14:48:17
files Divakar Roy 02 Oct 2009 14:48:17
music Divakar Roy 02 Oct 2009 14:48:17
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com