Difference between revisions of "Backups"

From Amahi Wiki
Jump to: navigation, search
 
(80 intermediate revisions by 18 users not shown)
Line 1: Line 1:
You have several ways to do backups in your HDA. We break them in two: full disk (bare metal) backups, and periodic backups.
+
Since the Amahi HDA appears as a NAS to you network, it is a natural destination for the backups from your network PCs. All backups are initiated by the client computer on to the HDA.
  
They are all initiated by the client computer on to the server.
+
= Periodic File Backups =
 +
One of the ways to backup systems in your network is to use the operating-system provided backup service to backup to an Amahi share.
 +
[[Image:VistaBackups3.png | 150px | Vista Backups | right]]
  
= Full Disk "Bare Metal" Backups =
+
We have documented ways to conduct periodic backups in various platforms. If you have good suggestions on how to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shy)
  
Each HDA now includes the Personal Backup Appliance, or PBA, with the collaboration of the PBA leader, Roland Hui.
+
== Third-Party (Free) Backup Software ==
 +
There are a number of great open source or free backup programs out there that you can use free (commercial users should check license details). Here is a partial list (feel free to add others):
  
[[PBABackups|This application is a hard disk clone, backup and restore application.]]
+
{|
 +
!Package
 +
!License/Cost
 +
|-
 +
|[http://www.educ.umu.se/~cobian/cobianbackup.htm Cobian Backup]
 +
|Free, later version no longer open source
 +
|-
 +
|[http://www.runtime.org/driveimage-xml.htm DriveImage XML]
 +
|Free for personal use
 +
|-
 +
|[http://www.areca-backup.org/index.php Areca Backup]
 +
|Open source - GPLv2
 +
|-
 +
|[http://thebackupmonkey.blogspot.com/ Bonkey]
 +
|Open source - Apache 2.0
 +
|-
 +
|[http://www.hiteksoftware.com/jaba/ JaBack]
 +
|Free
 +
|-
 +
|[http://www.nasbackup.com/wiki/Introduction NasBackup]
 +
|Open source - no longer under active devel.
 +
|-
 +
|[http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp DeltaCopy]
 +
|Open source - GPL
 +
|-
 +
|[http://www.allwaysync.com/ Allway Sync]
 +
|Free for non-commercial use; some limits
 +
|-
 +
|[http://www.gfi.com/backup-hm GFI Backup]
 +
|Free for non-commercial use
 +
|-
 +
|[http://backuppc.sourceforge.net/ BackupPC]
 +
|Open source - GPL
 +
|-
 +
|[http://synchronicity.sourceforge.net/ Create Synchronicity]
 +
|Open source - GPL
 +
|-
 +
|[http://freefilesync.sourceforge.net/ FreeFileSync]
 +
|Open source - GPL
 +
|}
  
 +
= Windows Backups =
  
= Using Symantec Backup Exec System Recovery 8.5 (Norton save & restore) =
+
* XP:  Follow the [[XPBackups | Windows XP]] guidance.
  
Symantec's [http://www.symantec.com/business/backup-exec-system-recovery-desktop-edition] (BESR) allows full system backup and restore (virtual and physical)from any hardware with restore to dissimaliar hardware. Conversion from P2V or V2P can also be scheduled. Install BESR on all windows computers connected to HDA and route backup to a folder on the HDA. Remember to set permissions on destination folders. Activate VSS copy so any open files are captured, optional threatcon can be used to trigger a backup if a threat becomes widespread.
+
* Vista or newer: Review the [[Windows Backups|periodic file backups in Windows Vista to your HDA]] documentation.
Alternatively BESR can be installed on a central windows machine with agents deployed on all other windows and Linux machines and using the new Linux media server agent (replaces RALUS) backup directly on the Linux HDA. This way you maintain a catalogue of all backups and can trigger them from a central console.
 
BESR is the enterprise windows standard for Backup and restore. Norton the consumer brand of Symantec have "Save & Restore" I'm not overly familiar with this product but it replaces Norton "Ghost" in most markets.[http://www.symantec.com/norton/save-restore] the GUI is exactly the same as BESR.
 
  
BESR is only for windows machines connected to the HDA but is a great solution to protecting these machines and allows LIVE single pass backup and granular restore of files, saves doing an image and a file backup. Less space less time. An agent is available to backup Linux but another option is to boot the HDA on the recovery disk and create a cold image of the server.
+
= Ubuntu Backups =
  
 +
How to backup Ubuntu clients using Ubuntu's [[Sbackup | Simple Backup]].
  
= Periodic File Backups =
+
= Fedora Backups =
  
{| align="right"
+
To backup Fedora clients, the following are recommended:
| <imagemap>
 
Image:VistaBackups3.png|150px|Vista Backups
 
default [[VistaBackups]]
 
desc bottom-left
 
</imagemap>
 
|} One of the ways to backup systems in your network is to use the operating-system provided backup service.
 
  
We have documented ways to do periodic backups in various platforms. If you have good suggestions on how to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shy)
+
* [[fwbackups]], a desktop utility
 +
* [http://rsnapshot.org/ rsnapshot], a solution using rsync, with command line interface
 +
* for backing up your hda shares to usbdrive see [[Rsnapshot]] for an example setup.
  
Note: To new users only the "Bare Metal" Backups will show in the Amahi Personal Backup webpage all others will not show on this page.
+
= Mac OS X =
  
== Vista Backups ==
+
Mac OS X without Time Machine is not officially supported through automated HDA Backups at this time.
Here is a quick how to on doing [[VistaBackups|periodic file backups in Windows Vista to your HDA]].
+
You can, however, manually copy files to an HDA shared folder.
  
== Windows XP Backups ==
+
== Backups with SuperDuper! ==
  
For XP Backups, visit the section for [[XPBackups|Windows XP]]
+
Another backup solution is a program called [[SuperDuper!]], follow the link to see the steps and to find out about SuperDuper!.
  
== Ubuntu Backups ==
+
== Backups with SystemRescueCD ==
  
How to backup Ubuntu clients using Ubuntu's [[Sbackup|Simple Backup]].
+
Backups with [[SystemRescueCD_with_Mac_OS_X | SystemRescueCD]] have been reported that they work, more info can be found by visiting the link.
  
== Fedora Backups ==
+
== Backups with Time Machine ==
 +
=== [https://www.amahi.org/apps/amahi-time-machine Amahi Time Machine] Application ===
  
To backup Fedora clients, the following are recommended:
+
=== SMB (Samba) ===
  
* [[fwbackups]], a desktop utility
+
'''WARNING - Hack ahead!'''  For Time Machine smb users only.
* [http://rsnapshot.org/ rsnapshot], a solution using rsync, with command line interface
 
 
 
== Mac OS X ==
 
Mac OS X without Time Machine is not officially supported through automated HDA Backups at this time.
 
You can, however, manually copy files to an HDA shared folder.
 
  
=== Backups with Time Machine ===
+
''The method described below does not appear to work with Time Machine starting with Snow Leopard - it allows you to see the drives, but backups will not start successfully.''
  
'''WARNING - Hack ahead!'''  For Time Machine users only.
+
There is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA. The [http://vowe.net/archives/008940.html Time Machine hack] is a one liner command to be typed in a terminal in Mac OS X:
 
 
There is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA. The hack is [http://vowe.net/archives/008940.html|documented in this page] and it's a one liner command to be typed in a terminal in Mac OS X:
 
  
 
  <code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code>
 
  <code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code>
Line 68: Line 100:
  
 
Needless to say, we're not advocating you backup your data like this, since Apple does not support this functionality. There are rumors that data corruption can occur if the size of the backup exceeds 2TB or if a large number of files, on the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified, we do not recommend you backup like this.
 
Needless to say, we're not advocating you backup your data like this, since Apple does not support this functionality. There are rumors that data corruption can occur if the size of the backup exceeds 2TB or if a large number of files, on the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified, we do not recommend you backup like this.
 +
 +
== AFP  ==
 +
For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed
 +
 +
Install [[AFP]] and Avahi:
 +
* in Applevolume.default add
 +
 +
<pre>~/ "$u" allow:UserName rwlist:UserName,@users cnidscheme:cdb<br>
 +
/var/hda/files/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedots,upriv</pre>
 +
 +
*Change UserName to your username and /var/hda/files/timemachine to your timemachine folder, the first line will also publish your homefolder to your mac but was necessary in my setup to work
 +
*Then service avahi-daemon and atalk restart
 +
*The server will show up on your mac connect to the xserve afp server
 +
*On your mac open disk utility, make a new disk image with the max size on disk possible and name it Computername_ethernetmacadress.sparsebundle (ex. MacBookProIcey_aa00bb11cc22.sparsebundle)
 +
 +
#use Journaled/case sensitive
 +
#name has to be Backup of ComputerName
 +
#and save it to the timemachine share
 +
 +
 +
[[File:Tm-sparsebundle.png‎|caption]]
 +
 +
*Timemachine image will grow when you synchronize but never larger than the max size
 +
*Time machine will now find your amahi time capsule
 +
 +
 +
''Update: Recent versions of timemachine do not appear to respect the max size of the sparsebundle and will cheerfully fill up your disk.  To fix this, you need a more recent version of netatalk (2.0.5+?), which has an option to tell fibs about the size of the disk, hence limiting timemachine's space consumption.  Fedora 14 has netatalk 2.1.4...''
 +
 +
= Full Disk "Bare Metal" Backups =
 +
Bare metal backups are no longer available as a feature in current Amahi releases.  Recommend checking out [http://clonezilla.org Clonezilla] as a viable alternative.  See the Amahi tutorial on using [[Clonezilla]] for detailed guidance.
 +
 +
'''NOTE:''' Older Amahi releases used the Personal Backup Appliance, or [[PBA | PBA]], with the collaboration of the PBA leader, Roland Hui. PBA is an application to do hard disk clones, backups and restores but appears to no longer be under development.
 +
 +
= Using Symantec Backup Exec =
 +
== System Recovery 8.5 ==
 +
 +
Symantec's [http://www.symantec.com/business/backup-exec-system-recovery-desktop-edition BESR] allows full system backup and restore (virtual and physical)from any hardware with restore to dissimilar hardware. Conversion from P2V or V2P can also be scheduled. Install BESR on all windows computers connected to HDA and route backup to a folder on the HDA. Remember to set permissions on destination folders. Activate VSS copy so any open files are captured, optional threatcon can be used to trigger a backup if a threat becomes widespread.
 +
Alternatively BESR can be installed on a central Windows machine with agents deployed on all other Windows and Linux machines and using the new Linux media server agent (replaces RALUS) backup directly on the Linux HDA. This way you maintain a catalogue of all backups and can trigger them from a central console.
 +
BESR is the enterprise windows standard for Backup and restore. Norton the consumer brand of Symantec have [http://www.symantec.com/norton/save-restore "Save & Restore"] I'm not overly familiar with this product but it replaces Norton "Ghost" in most markets. The GUI is exactly the same as BESR.
 +
 +
BESR is only for Windows machines connected to the HDA but is a great solution to protecting these machines and allows LIVE single pass backup and granular restore of files, saves doing an image and a file backup. Less space less time. An agent is available to backup Linux but another option is to boot the HDA on the recovery disk and create a cold image of the server.
  
  
 
[[Category: Services]]
 
[[Category: Services]]

Latest revision as of 00:33, 17 May 2016

Since the Amahi HDA appears as a NAS to you network, it is a natural destination for the backups from your network PCs. All backups are initiated by the client computer on to the HDA.

Periodic File Backups

One of the ways to backup systems in your network is to use the operating-system provided backup service to backup to an Amahi share.

Vista Backups

We have documented ways to conduct periodic backups in various platforms. If you have good suggestions on how to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shy)

Third-Party (Free) Backup Software

There are a number of great open source or free backup programs out there that you can use free (commercial users should check license details). Here is a partial list (feel free to add others):

Package License/Cost
Cobian Backup Free, later version no longer open source
DriveImage XML Free for personal use
Areca Backup Open source - GPLv2
Bonkey Open source - Apache 2.0
JaBack Free
NasBackup Open source - no longer under active devel.
DeltaCopy Open source - GPL
Allway Sync Free for non-commercial use; some limits
GFI Backup Free for non-commercial use
BackupPC Open source - GPL
Create Synchronicity Open source - GPL
FreeFileSync Open source - GPL

Windows Backups

Ubuntu Backups

How to backup Ubuntu clients using Ubuntu's Simple Backup.

Fedora Backups

To backup Fedora clients, the following are recommended:

  • fwbackups, a desktop utility
  • rsnapshot, a solution using rsync, with command line interface
  • for backing up your hda shares to usbdrive see Rsnapshot for an example setup.

Mac OS X

Mac OS X without Time Machine is not officially supported through automated HDA Backups at this time. You can, however, manually copy files to an HDA shared folder.

Backups with SuperDuper!

Another backup solution is a program called SuperDuper!, follow the link to see the steps and to find out about SuperDuper!.

Backups with SystemRescueCD

Backups with SystemRescueCD have been reported that they work, more info can be found by visiting the link.

Backups with Time Machine

Amahi Time Machine Application

SMB (Samba)

WARNING - Hack ahead! For Time Machine smb users only.

The method described below does not appear to work with Time Machine starting with Snow Leopard - it allows you to see the drives, but backups will not start successfully.

There is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA. The Time Machine hack is a one liner command to be typed in a terminal in Mac OS X:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

This will offer you the choice to backup to your HDA shares.

It should be noted that mounting a directory from your HDA via NFS let's you use time machine without this hack.

Needless to say, we're not advocating you backup your data like this, since Apple does not support this functionality. There are rumors that data corruption can occur if the size of the backup exceeds 2TB or if a large number of files, on the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified, we do not recommend you backup like this.

AFP

For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed

Install AFP and Avahi:

  • in Applevolume.default add
~/ "$u" allow:UserName rwlist:UserName,@users cnidscheme:cdb<br>
/var/hda/files/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedots,upriv
  • Change UserName to your username and /var/hda/files/timemachine to your timemachine folder, the first line will also publish your homefolder to your mac but was necessary in my setup to work
  • Then service avahi-daemon and atalk restart
  • The server will show up on your mac connect to the xserve afp server
  • On your mac open disk utility, make a new disk image with the max size on disk possible and name it Computername_ethernetmacadress.sparsebundle (ex. MacBookProIcey_aa00bb11cc22.sparsebundle)
  1. use Journaled/case sensitive
  2. name has to be Backup of ComputerName
  3. and save it to the timemachine share


caption

  • Timemachine image will grow when you synchronize but never larger than the max size
  • Time machine will now find your amahi time capsule


Update: Recent versions of timemachine do not appear to respect the max size of the sparsebundle and will cheerfully fill up your disk. To fix this, you need a more recent version of netatalk (2.0.5+?), which has an option to tell fibs about the size of the disk, hence limiting timemachine's space consumption. Fedora 14 has netatalk 2.1.4...

Full Disk "Bare Metal" Backups

Bare metal backups are no longer available as a feature in current Amahi releases. Recommend checking out Clonezilla as a viable alternative. See the Amahi tutorial on using Clonezilla for detailed guidance.

NOTE: Older Amahi releases used the Personal Backup Appliance, or PBA, with the collaboration of the PBA leader, Roland Hui. PBA is an application to do hard disk clones, backups and restores but appears to no longer be under development.

Using Symantec Backup Exec

System Recovery 8.5

Symantec's BESR allows full system backup and restore (virtual and physical)from any hardware with restore to dissimilar hardware. Conversion from P2V or V2P can also be scheduled. Install BESR on all windows computers connected to HDA and route backup to a folder on the HDA. Remember to set permissions on destination folders. Activate VSS copy so any open files are captured, optional threatcon can be used to trigger a backup if a threat becomes widespread. Alternatively BESR can be installed on a central Windows machine with agents deployed on all other Windows and Linux machines and using the new Linux media server agent (replaces RALUS) backup directly on the Linux HDA. This way you maintain a catalogue of all backups and can trigger them from a central console. BESR is the enterprise windows standard for Backup and restore. Norton the consumer brand of Symantec have "Save & Restore" I'm not overly familiar with this product but it replaces Norton "Ghost" in most markets. The GUI is exactly the same as BESR.

BESR is only for Windows machines connected to the HDA but is a great solution to protecting these machines and allows LIVE single pass backup and granular restore of files, saves doing an image and a file backup. Less space less time. An agent is available to backup Linux but another option is to boot the HDA on the recovery disk and create a cold image of the server.