It makes a backup every time it is called, holding a specified number of backups, so you can go back to older versions. Instead of making a full copy every time, it hard-links files that have not changed since the last run, so normaly using only a fraction of the space. Every snapshot looks
like a full copy
To be honest the actual work is done by rsync(1), this tool only is a small script to call rsync.
source is a URL-like specifier for the source (the directory to back-up). It is either
for backing-up a localy directory-tree or
for backing up a nfs-mountable export of a remote server. ssbackup will mount this export, do the backup and umount it.
name is the name of the backups. The backups are called name.0, name.1, etc.
makes a backup of /export/1 exported by nfs-server milkyway into the current directory. The backups are called home.0, home.1, home.2,... As count is not specified 14 versions ( home.0,.., home.14 ) are hold.
ssbackup home nfs://milkyway:/export/1
the same as above, but the backups are put into /backup instead of the currend directory and home.excl is passed to rsync as an exclude file with --exclude-from=home.excl.
ssbackup --basedir=/backup --exclude=home.excl home nfs://milkyway:/export/1
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 U SA
Table of Contents