Changes

From Amahi Wiki
Jump to: navigation, search
87 bytes added ,  00:33, 17 May 2016
You have several ways Since the Amahi HDA appears as a NAS to do you network, it is a natural destination for the backups in from your HDAnetwork PCs. We break them in two: full disk (bare metal) All backups, and periodic backups. They are all initiated by the client computer on to the server. = Full Disk "Bare Metal" Backups = Each HDA now includes the Personal Backup Appliance, or PBA, with the collaboration of the PBA leader, Roland Hui. [[PBA | PBA]] is an application to do hard disk clones, backups and restores.  = Using Symantec Backup Exec System Recovery 8.5 (Norton save & restore) = 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 "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. 
= 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]]
One of the We have documented ways to backup systems conduct periodic backups in your network is various platforms. If you have good suggestions on how to do that, please add them to use this section of the operatingwiki! (Or email it to us if you're wiki-system provided backup service.[[Image:VistaBackups3.png | 150px | Vista Backups | align:right]]shy)
We have documented ways to do periodic backups in various platforms== 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). If you have good suggestions on how Here is a partial list (feel free to do that, please add them to this section of the wiki! (Or email it to us if you're wiki-shyothers):
Note{|!Package!License/Cost|-|[http://www.educ.umu.se/~cobian/cobianbackup.htm Cobian Backup]|Free, later version no longer open source|-|[http: To new users only the "Bare Metal" Backups will show in the //www.runtime.org/driveimage-xml.htm DriveImage XML]|Free for personal use|-|[http://wikiwww.amahiareca-backup.org/index.phpAreca 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/PBABackups Amahi Personal backup-hm GFI Backup] webpage all others will not show on this page|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|}
== Vista Windows Backups ==Here is a quick how to on doing [[VistaBackups | periodic file backups in Windows Vista to your HDA]].
== * XP: Follow the [[XPBackups | Windows XP Backups ==]] guidance.
For XP Backups, visit * Vista or newer: Review the section for [[XPBackups Windows Backups| periodic file backups in Windows XPVista to your HDA]]documentation.
== Ubuntu Backups ==
How to backup Ubuntu clients using Ubuntu's [[Sbackup | Simple Backup]].
== Fedora Backups ==
To backup Fedora clients, the following are recommended:
* [[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.
== 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_with_Mac_OS_X | SystemRescueCD]] have been reported that they work, more info can be found by visiting the link.
=== Backups with Time Machine ===== [https://www.amahi.org/apps/amahi-time-machine Amahi Time Machine] Application ===
==== Afp =SMB (Samba) ===For full time machine support in fedora, avahi(bonjour) and netatalk(afp) need to be installed
<code>yum install '''WARNING -y netatalk avahi</code>Hack ahead!''' For Time Machine smb users only.
then go ''The method described below does not appear to /etc/atalk/at the end of work with Time Machine starting with Snow Leopard - it allows you to see the afpddrives, but backups will not start successfully.conf add ''
<code>- -noddp -tcp -uamlist uams_randnumThere is an unsupported way to enable using Mac OS X Time Machine to backup to your HDA.so,uams_dhxThe [http://vowe.so,uams_clrtxtnet/archives/008940.so -nosavepassword -advertise_ssh</code> html Time Machine hack] is a one liner command to be typed in a terminal in Mac OS X:
change netatalk.conf <code># Set which daemons to run (papd is dependent upon atalkd):ATALKD_RUN=noPAPD_RUN=noCNID_METAD_RUN=yesAFPD_RUN=yesTIMELORD_RUN=noA2BOOT_RUN=nodefaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code>
This will offer you the choice to backup to your HDA shares.
in ApplevolumeIt should be noted that mounting a directory from your HDA via NFS let's you use time machine without this hack.default add
<code>~/ "$u" allow:UserName rwlist:UserNameNeedless to say,@users cnidscheme:cdb/var/hda/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/timemachine allow:UserName rwlist:UserName,@users cnidscheme:cdb options:usedotson the order of a million, are backed up. Because the exact conditions leading to data corruption are not well quantified,upriv</code>we do not recommend you backup like this.
Change UserName to your username == AFP ==For full time machine support in fedora, avahi(bonjour) 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 netatalk(afp) need to workbe installed
then go to /etc/avahi/services/Install [[AFP]] and Avahi:* in Applevolume.default add
add the afpd.service<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>
<code><?xml version="1.0" standalone='no'?><!--*-nxml-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*--><!DOCTYPE Then service-group SYSTEM "avahi-service.dtd">daemon and atalk restart<service-group>*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 replace-wildcards="yes">%h Xserve</name><service><type>_afpovertcpit Computername_ethernetmacadress.sparsebundle (ex._tcp</type><port>548</port></service><service><type>_device-infoMacBookProIcey_aa00bb11cc22._tcp</type><port>0</port><txt-record>model=Xserve</txt-record></service></service-group></code>sparsebundle)
%h Xserve can #use Journaled/case sensitive#name has to be changed Backup of ComputerName#and save it to your server name (not the same as your samba server!)model=Xserve can be changed to get a different icon for your server to PowerBook, PowerMac, Macmini, iMac, MacBook, MacBookPro, MacBookAir, MacPro, AppleTV1,1, AirPorttimemachine share
Additionally you can make avahi advertise other services on your mac
rfb.service for screensharing without chickenvnc<code><?xml version="1.0" standalone='no'?><!-[[File:Tm-*-nxml-*--><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">%h</name><service><type>_rfbsparsebundle._tcp</type><port>5900</port></service></service-group></code>png‎|caption]]
samba.service so *Timemachine image will grow when you synchronize but never larger than the bsod icon is replaced with a nice screen icon and is on the same server as vnc/screensharingmax size<code><?xml version="1.0" standalone='no'?><!--*-nxml-*--><!DOCTYPE service-group SYSTEM "avahi-service.dtd"><service-group><name replace-wildcards="yes">%h</name><service><type>_smb._tcp</type><port>139</port></service></service-group></code>Time machine will now find your amahi time capsule
there is also a nfs.service but havent been able to get this to work on snow leopard
<code><?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">NFS Shares on %h</name> ## Display Name
<service>
<type>_nfs._tcp</type>
<port>2049</port>
<txt-record>path=/var/hda/files/music</txt-record> ## path to NFS mountpoint
</service>
<service>
<type>_nfs._tcp</type>
<port>2049</port>
<txt-record>path=/var/hda/files/movies</txt-record> ## path to NFS mountpoint
</service>
</service-group>
</code>
Thanks ''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 great [http://www, 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..kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/#netatalk2 tutorial] for ubuntu !! ''
==== Smb ===Full Disk "Bare Metal" Backups '''WARNING - Hack ahead!''' 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. For Time Machine smb users onlySee the Amahi tutorial on using [[Clonezilla]] for detailed guidance.
There '''NOTE:''' Older Amahi releases used the Personal Backup Appliance, or [[PBA | PBA]], with the collaboration of the PBA leader, Roland Hui. PBA is an unsupported way application to enable using Mac OS X Time Machine do hard disk clones, backups and restores but appears to backup to your HDAno longer be under development. 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:
<code>defaults write com= Using Symantec Backup Exec === System Recovery 8.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code>5 ==
This will offer you 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 choice 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 to your 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 shares. 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.
It should be noted that mounting 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 directory from your HDA via NFS let's you use file backup. Less space less time machine without this hackNeedless An agent is available 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 Linux but another option is to boot the size of HDA on the backup exceeds 2TB or if recovery disk and create a large number cold image 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 thisserver.
[[Category: Services]]
12,424

edits