Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do you backup your UniServer installation?

Featured Replies

Hello everyone,

 

so how do you backup it? Do you have some fancy app to do it for you?

 

Because I couldn't find anything, I wrote a small batch file that will backup whole UniServer directory using 7zip archiver, which will run in lowest priority on CPU's second core, so it won't overload the server.

 

You can set password for the backup archive and extra output path, where the backup will be copied. Normally, it would only make one copy of the backup in directory "UniServer\backup", using this filename format: "uniserver_date(backup number).7z", so you can make more backups per day, without overriding the older backups.

 

It will also backup all your databases by explicitly calling "Run_db_backup.bat" batch file, so the output backup archive will also contain all database backups.

 

How to install:

-Extract the "backup_script.zip" file to "UniServer\uni_con\" directory

-Download 7za and extract the downloaded archive to the "UniServer\uni_con\backup" directory

 

You can add path to this script to cron's config file ("uni_con\cron\cron.ini"), so it can run periodically using cron by adding these lines:

 

[backup]
start  = 2012-07-23 0:00:00
period = weekly
path   = C:\UniServer\uni_con\cron\backup\backup.bat
ref	= 

 

Enjoy! :)

 

P.S. 7za.exe can be downloaded here:

http://downloads.sourceforge.net/sevenzip/7za920.zip

backup_script.zip

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.