3 how to-backup_and_recovery

19
BACKUP AND RECOVERY ALFRESCO SHARE SERVER Document Management System Ubuntu14.04 LTS (Trusty Tahr) JICA SV K.ADACHI

Upload: kichiemon-adachi

Post on 16-Jul-2015

68 views

Category:

Internet


0 download

TRANSCRIPT

BACKUP AND RECOVERY ALFRESCO SHARE SERVER

Document Management System

Ubuntu14.04 LTS (Trusty Tahr)

JICA SV K.ADACHI

Content

•About Cold Backup

•Alfresco Share Server Stop

•Ready to Backup Device

•Backup Settings

•Backup Alfresco Share Server

•Recovery Alfresco Share Server

About Cold Backup(Offline Backup)

• A cold backup, also called an offline backup, is a database backup when the database is offline and thus not accessible for updating.

• This is the safest way to back up because it avoids the risk of copying data that may be in the process of being updated.

• However, a cold backup involves downtime because users cannot use the database while it is being backed up.

Alfresco Share Server Stop

Cold Backup need to stop Alfresco .

• Command is :

• $ cd

• $ alfresco-4.2.f/

• $ ./alfresco.sh stop

Ready to Backup Device

Connect backup media device(USB HDD)

Connect USB Media or USB-HDD

The Launcher bar display USB icon and File explore.

If you use Virtual Box, Click Device menu of Virtual machine.

Select USB Device and Check USB media.

Backup Settings

Launch Backup(Déjà Dup)

• 1. Click System Settings icon on the launcher bar.

• 2. Click Backup icon.

Backup software is called Déjà Dup.

Déjà Dup is a simple — yet powerful — backup tool included with Ubuntu.

Backup Settings

About Déjà Dup

• Déjà Dup is a simple — yet powerful — backup tool included with Ubuntu.

• Déjà Dup’s main screen summarizes your backup settings.

Backup Setting

Setting Folders to save From the Folders to save pane, you can easily select the folders Déjà Dup backs up.

By default, Déjà Dup backs up your Home directory, ignoring the Trash and Downloads folders.

How to select holder.

1. Select “+” or “-”

2. Select backup folder on File explore

Backup Setting

Needed Backup Directory is the following Directory at Least.1.~/alfresco-4.2.f/alf_data/postgresql

2.~/alfresco-4.2.f/alf_data/contentstore

3.~/alfresco-4.2.f/alf_data/solr/workplace

4.~/alfresco-4.2.f/alf_data/solr/archive

Note:

postgresql is database system.

contentstore is real-data-file

solr/workplace and archive is indexing data.

Backup Setting

Setting Storage Location

From the Storage pane, you can select where Déjà Dup store your backups.The USB option can back up your data to an external drive or other local storage device.

Putting the backup on the same drive as the original files is a bad idea — you’ll lose both the backup and the originals if the drive fails.

Backup Alfresco Share Server

Back Up Now

• Once you’ve got Déjà Dup set up, you can perform your first back up by clicking the “Back Up Now” button on the Overview pane.

Backup Alfresco Share Server

You’ll be prompted to password-protect your backup but you can’t recover it if you forget it.I recommend Allow restoring without a password.

The backup process may take some time, but each subsequent backup will be faster. Déjà Dup performs incremental backups, which means that it only records the changes from the last backup.

Recovery Alfresco Share Server

•Reinstall Ubuntu

•Configure Server network

• Install Alfresco

•Stop Alfresco Share Server

•Restore Alfresco Share Server

Restore Alfresco Share Server

Cold Backup need to stop Alfresco .

• Command is :• $ cd• $ alfresco-4.2.f/• $ ./alfresco.sh stop

Restore Alfresco Share Server

• Click the Restore button in the Déjà Dup window to start restoring a backup.

• Déjà Dup will automatically select the folder that you last backed up to, but you can select any other folder that contains a backup.

Restore Alfresco Share Server

Next, select the date the backup was taken.

Déjà Dup restores files to their original locations by default. You can also have it restore files to a specific folder if you don’t want to overwrite the existing files.

Restore Alfresco Share Server

You’ll go through the same restore process.

Restoring Progress is a few time.

Restore Alfresco Share Server

• Restore Finished!

Thank you