---
name: "rdup-snap-link"
section: "1"
platform: "linux"
package: "rdup"
version: "0.6.0-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/rdup-snap-link"
---

# rdup-snap-link(1)

create a hard linked copy of a previous backup

## NAME

rdup-snap-link - create a hard linked copy of a previous backup

## SYNOPSIS

**rdup-snap-link** \[ *-H* \] *DAYS* *BACKUPDIR* *NOW*

## DESCRIPTION

**rdup-snap-link** creates a hard linked copy of a previous backup directory. If such a directory is created **rdup-snap-link** exists with 0. If a full dump should be performed a 1 is returned. If 2 is returned an error has occured. GNU cp is used for the actual  creation of the copy. On non GNU operating systems you may need to install GNU cp.

This utility is called from **rdup-simple**.

The -H option makes rdup-snap-link understand hourly backups. It will then look back DAYS *hours*.

## FILES

**/etc/rdup/rdup-snapshot.gnu** with the location of GNU cp and GNU date. This is probably only needed on non GNU/Linux systems. This file has the following format:

        GNU\_DATE=/path/to/gnu\_date\
         GNU\_CP=/path/to/gnu\_cp

For example:

        GNU\_DATE=/usr/local/bin/date\
         GNU\_CP=/usr/local/bin/cp

## SEE ALSO

[rdup-backups(1)](/rdup-backups/1.md) and [rdup-simple(1)](/rdup-simple/1.md).
