P5-file-backupcopy

Jul 20, 2023

Create a backup copy of the file with Perl

The FileBackupCopy module provides functions for creating backup copies of files. Two backup schemes are supported simple and numbered backups. In simple or single backup scheme, only one backup copy is maintained for the given file. Its name is created by appending a single tilde character to the original file name. In numbered backup scheme, arbitrary number of backup copies can be created. The name of each backup copy is created by suffixing the original file name with ‘.~N~’, where N is a decimal number starting with

  1. Additionally, the automatic backup name scheme is implemented. In this naming scheme, numbered backups are created if at least one numbered backup copy already exists and simple backups are created otherwise.


Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron