Print Deploy configuration data is archived independently from standard PaperCut NG/MF server backups. Use this guide to locate your automated weekly archives, restore your data from a backup, or migrate Print Deploy to a new server.
Back up your Print Deploy configuration
The files created and used for Print Deploy are not included in the weekly PaperCut NG/MF backups. Instead the Print Deploy configuration files are archived weekly (Sunday night) to the following locations:
Windows Application server
<install path>\providers\print-deploy\win\data\backups\
Mac Application server
<install path>/providers/print-deploy/mac/data/backups/
Linux Application server
<install path>/providers/print-deploy/linux/data/backups/
Migrate PaperCut NG/MF with Print Deploy to a different server
If you are using Print Deploy to deploy print queues in your organization, follow the steps below.
-
In the original server, navigate to the Print Deploy directory
Windows:
[application-directory]\providers\print-deploy\winmacOS:
[application-directory]/providers/print-deploy/macLinux:
[application-directory]/providers/print-deploy/linux -
Copy the entirety of the
datafolder -
Go to the new server you’re migrating to and stop the Print Deploy server
-
Paste the
datafolder onto the same directory of Print Deploy in the new server, i.e.,[application-directory]/providers/print-deploy/<os>. Overwrite any existing files. -
Start the Print Deploy server.
-
To test and confirm the migration, in the new server, log in to the PaperCut NG/MF page as an admin.
-
Navigate to Enable Printing > Print Deploy tab.
-
Check that you can see your old zones and print queues in the interface.
-
On a client’s machine, check that the Print Deploy client is now pointing to the new address of the server:
- Open
[PaperCut Print Deploy Client app directory]/data/config/client.conf.toml. - Check that the key named
ServerBaseURLis set to the new server’s hostname. - If not, uninstall all the clients first and redeploy.
- Open
Restore your Print Deploy configuration
The folder and data structure of Print Deploy is quite simple. To restore a previous configuration, follow the steps below.
-
On the server you’re restoring, stop the Print Deploy server.
-
Navigate to the Print Deploy install directory.
Windows:
[application-directory]\providers\print-deploy\winmacOS:
[application-directory]/providers/print-deploy/macLinux:
[application-directory]/providers/print-deploy/linuxRename the data folder to data.old or similar.
-
Navigate to the Print Deploy backup directory.
Windows:
[application-directory]\providers\print-deploy\win\data\backups\macOS:
[application-directory]/providers/print-deploy/mac/data/backups/Linux:
[application-directory]/providers/print-deploy/linux/data/backups/ -
Locate the appropriate ZIP file corresponding to a recent backup. The backup filename is in the following format:
backup-YYYYMMDDHHmmSS.zip (for example: backup-20200219161100.zip)
-
Use your preferred ZIP file handling program to extract the data folder to the Print Deploy install directory
-
On the server you’re restoring, start the Print Deploy server. and confirm you configuration has been restored.
Comments
Comments are not available in this preview environment. On papercut.com, this space shows the live Disqus comment thread for this page.