Linux: Local / Remote Backup For Large Files

You can easily backup large files using Linux backup software combination – tar, split and md5sum program. From the article:

ADVERTISEMENTS

I have a directory containing some files for a virtual computer. The files that hold the data for the virtual computer’s hard discs are not only big, they are also “sparse” files, which means that they use only enough disc space for the data that was actually written to the file. For example, the virtual computer may have a 30GB drive of which 2GB has been used. Even though it uses only 2GB on my hard disc, a program that reads the file may see it as a 30GB file. This type of file can be tricky to back up because, when you copy it, you can end up with a 30GB file, or it might simply fail to copy, depending on the type of file system used on the backup storage.

=> Backing up Large Files

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
2 comments… add one
  • shakaran Jun 30, 2008 @ 12:08

    The entire post can not be seen in rss. This would be useful.

    Greetings

  • Ramesh | The Geek Stuff Jul 1, 2008 @ 7:09

    Vivek,

    Thanks for the link to the very nice article.

    I strongly believe in taking md5 check-sum of all my backups (database, configuration etc.). I definitely do a check-sum before the restore.

    I have seen in one situation of DB restore, the restore itself went successfully and there was a corruption in some of the blocks that affected a functionality of the DB.

    Doing a md5 check-sum after backup and before restore, would’ve pointed out the issue immediately.

    Ramesh
    The Geek Stuff

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.