create_backup_copy: Create backup file.

View source: R/backup.R

create_backup_copyR Documentation

Create backup file.

Description

Create backup file.

Usage

create_backup_copy(
  file = NULL,
  backup_subdir = "",
  of_what = ifelse(backup_subdir == "", "file(s)", backup_subdir),
  backup_stamp = get_backup_stamp(),
  show = c("file", "dir")
)

Arguments

file

(character) The name of file to backup.

backup_subdir

(character) The name of subdirectory in the directory of backups.

of_what

(character) String to be used in message. Usually word "file"

backup_stamp

(character) Usually the result of get_backup_stamp().

show

(character) what should be shown in te message: - file – path to backup files; - dir – path to directory with backup files.


GegznaV/backup.tools documentation built on Aug. 29, 2023, 9:01 p.m.