|
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
..
|
|
|
-.TH "BORG-CREATE" 1 "2022-11-26" "" "borg backup tool"
|
|
|
+.TH "BORG-CREATE" 1 "2023-01-02" "" "borg backup tool"
|
|
|
.SH NAME
|
|
|
borg-create \- Create new archive
|
|
|
.SH SYNOPSIS
|
|
@@ -107,9 +107,9 @@ creation of a new archive to ensure fast operation. This is because the file cac
|
|
|
is used to determine changed files quickly uses absolute filenames.
|
|
|
If this is not possible, consider creating a bind mount to a stable location.
|
|
|
.sp
|
|
|
-The \fB\-\-progress\fP option shows (from left to right) Original, Compressed and Deduplicated
|
|
|
-(O, C and D, respectively), then the Number of files (N) processed so far, followed by
|
|
|
-the currently processed path.
|
|
|
+The \fB\-\-progress\fP option shows (from left to right) Original and (uncompressed)
|
|
|
+deduplicated size (O and U respectively), then the Number of files (N) processed so far,
|
|
|
+followed by the currently processed path.
|
|
|
.sp
|
|
|
When using \fB\-\-stats\fP, you will get some statistics about how much data was
|
|
|
added \- the \(dqThis Archive\(dq deduplicated size there is most interesting as that is
|
|
@@ -264,30 +264,30 @@ select compression algorithm, see the output of the \(dqborg help compression\(d
|
|
|
.sp
|
|
|
.nf
|
|
|
.ft C
|
|
|
-# Back up ~/Documents into an archive named \(dqmy\-documents\(dq
|
|
|
+# Backup ~/Documents into an archive named \(dqmy\-documents\(dq
|
|
|
$ borg create my\-documents ~/Documents
|
|
|
|
|
|
# same, but list all files as we process them
|
|
|
$ borg create \-\-list my\-documents ~/Documents
|
|
|
|
|
|
-# Back up ~/Documents and ~/src but exclude pyc files
|
|
|
+# Backup ~/Documents and ~/src but exclude pyc files
|
|
|
$ borg create my\-files \e
|
|
|
~/Documents \e
|
|
|
~/src \e
|
|
|
\-\-exclude \(aq*.pyc\(aq
|
|
|
|
|
|
-# Back up home directories excluding image thumbnails (i.e. only
|
|
|
+# Backup home directories excluding image thumbnails (i.e. only
|
|
|
# /home/<one directory>/.thumbnails is excluded, not /home/*/*/.thumbnails etc.)
|
|
|
$ borg create my\-files /home \-\-exclude \(aqsh:home/*/.thumbnails\(aq
|
|
|
|
|
|
-# Back up the root filesystem into an archive named \(dqroot\-YYYY\-MM\-DD\(dq
|
|
|
+# Backup the root filesystem into an archive named \(dqroot\-YYYY\-MM\-DD\(dq
|
|
|
# use zlib compression (good, but slow) \- default is lz4 (fast, low compression ratio)
|
|
|
$ borg create \-C zlib,6 \-\-one\-file\-system root\-{now:%Y\-%m\-%d} /
|
|
|
|
|
|
-# Back up into an archive name like FQDN\-root\-TIMESTAMP
|
|
|
+# Backup into an archive name like FQDN\-root\-TIMESTAMP
|
|
|
$ borg create \(aq{fqdn}\-root\-{now}\(aq /
|
|
|
|
|
|
-# Back up a remote host locally (\(dqpull\(dq style) using sshfs
|
|
|
+# Backup a remote host locally (\(dqpull\(dq style) using sshfs
|
|
|
$ mkdir sshfs\-mount
|
|
|
$ sshfs root@example.com:/ sshfs\-mount
|
|
|
$ cd sshfs\-mount
|
|
@@ -300,10 +300,10 @@ $ fusermount \-u sshfs\-mount
|
|
|
# docs \- same parameters as borg < 1.0):
|
|
|
$ borg create \-\-chunker\-params buzhash,10,23,16,4095 small /smallstuff
|
|
|
|
|
|
-# Back up a raw device (must not be active/in use/mounted at that time)
|
|
|
+# Backup a raw device (must not be active/in use/mounted at that time)
|
|
|
$ borg create \-\-read\-special \-\-chunker\-params fixed,4194304 my\-sdx /dev/sdX
|
|
|
|
|
|
-# Back up a sparse disk image (must not be active/in use/mounted at that time)
|
|
|
+# Backup a sparse disk image (must not be active/in use/mounted at that time)
|
|
|
$ borg create \-\-sparse \-\-chunker\-params fixed,4194304 my\-disk my\-disk.raw
|
|
|
|
|
|
# No compression (none)
|
|
@@ -477,7 +477,7 @@ By default, the content read from stdin is stored in a file called \(aqstdin\(aq
|
|
|
Use \fB\-\-stdin\-name\fP to change the name.
|
|
|
.SH SEE ALSO
|
|
|
.sp
|
|
|
-\fIborg\-common(1)\fP, \fIborg\-delete(1)\fP, \fIborg\-prune(1)\fP, \fIborg\-check(1)\fP, \fIborg\-patterns(1)\fP, \fIborg\-placeholders(1)\fP, \fIborg\-compression(1)\fP
|
|
|
+\fIborg\-common(1)\fP, \fIborg\-delete(1)\fP, \fIborg\-prune(1)\fP, \fIborg\-check(1)\fP, \fIborg\-patterns(1)\fP, \fIborg\-placeholders(1)\fP, \fIborg\-compression(1)\fP, \fIborg\-rcreate(1)\fP
|
|
|
.SH AUTHOR
|
|
|
The Borg Collective
|
|
|
.\" Generated by docutils manpage writer.
|