-
Notifications
You must be signed in to change notification settings - Fork 25
Real world: quickest start
zpaqfranz offers several operating modes, but for those in a hurry, here’s a simple example. Suppose you want to back up the folder C:\dati
to D:\thebackup.zpaq
. You would use the following command:
zpaqfranz a d:\thebackup.zpaq c:\dati
- The command
a
stands for add. - It has two parameters:
- The name of the archive (
D:\thebackup.zpaq
in this case). - The folder you want to back up (
C:\dati
).
- The name of the archive (
That's it. No additional setup is needed. I recommend running a test on your computer to get familiar with the process.
During the first run, zpaqfranz will scan the folder C:\dati
, enumerate the files, and archive them one by one into the .zpaq
file—just like you would with tools like 7z, RAR, or tar. During this phase, the files are compressed (though the compression process is more complex, which we’ll skip for now), and they will take up a certain amount of space in the archive.
Now, let’s modify the folder C:\dati
. You might add new files, delete some, or change existing documents. After making changes, run the exact same command again:
zpaqfranz a d:\thebackup.zpaq c:\dati
"Magically," the .zpaq
archive will be updated, but this time the process will be much faster, and the increase in file size will be minimal. Try it out yourself and see the difference.
As you can imagine, the fact that the command remains the same every time makes it very easy to automate the backup process. For example, you can use crontab
on Unix-like systems, or the Task Scheduler on Windows to run the command at regular intervals.
To summarize the key point: to perform a backup with zpaqfranz, you’ll use the a
command (which stands for "add"). The syntax is simple:
zpaqfranz a <archive_name.zpaq> <source_folder>
-
a
: The operation to add files to the archive. -
<archive_name.zpaq>
: The name and location of the.zpaq
archive. -
<source_folder>
: The folder (or folders) you want to back up.
And that’s it! You can specify one or more folders, separated by spaces, and they will all be added to the specified archive.