{| class=“wikitable” cellspacing=“10”
! Device ! Size ! Filesystem ! Mount point ! UUID ! Notes
Ariel was installed using the Gentoo/Template VMware image.
Also see:
{| class=“wikitable” cellspacing=“10”
! Hardware ! Driver ! Device ! Mac ! IP ! DHCP/Static
Backups will be archived over to Athens in case of hardware failure on Ariel or Badger. Mount <tt>athens.jellybean.sihnon.net:/raid/backups/archives</tt> by adding the following line to fstab. /etc/fstab|<syntax lang="fstab"> - NFS mounts athens.jellybean.sihnon.net:/raid/backups/archives /backups/archives nfs acl,nfsvers=3,noatime 0 0 </syntax>
Ensure that Ariel has permissions to access the exported filesystem using Athens' webui.
Then start nfsmount, and ensure it autostarts on boot: <source lang="bash"> /etc/init.d/nfsmount start rc-update add nfsmount default </source>
Having installed perl and libperl with thread support, several perl modules may need to be recompiled to be compatible. Re-emerge the following packages:
BackupPC is installed with TOPDIR configured as <tt>/var/lib/backuppc</tt>. Move the content of this directory to the backups filesystem, and recreate the path as a symlink to <tt>/backups</tt>.
Ensure that backuppc has write access to the backups filesystem, and the archive filesytsem by running the following command after both have been mounted. <source lang="bash"> setfacl -R -m u:backuppc:rwX,d:u:backuppc:rwX,m::rwX,d:m::rwX /backups </source>
Apache needs to be run as the backuppc user so that the CGI interface can access the backups filesystems. Edit the apache configuration to change the user from apache to backuppc: /etc/apache2/httpd.conf|<source lang="apache"> User backuppc Group backuppc </source>
Per-host configuration files are stored in <tt>/backups/pc/hostname/config.pl</tt>. Create a directory for each host, and use the following config as a template. Be sure to check for any persistent mounts in <tt>/mnt</tt> that might need to be excluded before allowing backuppc to run. /backups/pc///hostname///config.pl|<source lang="perl"> - hostname - OS - Purpose $Conf{RsyncShareName} = '/'; $Conf{BackupFilesExclude} = [[ | '/mnt/something', '/proc', '/sys', ]]; - vim: set filetype=perl ts=4 expandtab: </source>
Finally, let backuppc know about each of the hosts: /etc/backuppc/hosts|<syntax lang="conf"> host dhcp user moreUsers # <--- do not edit this line ariel.jellybean.sihnon.net 0 ben </syntax>
Have backuppc archive the most recent full backups to Athens for safekeeping. Add the following entry in the hosts file: /etc/backuppc/hosts|<syntax lang="conf"> host dhcp user moreUsers # <--- do not edit this line athens.jellybean.sihnon.net 0 backuppc # Archive host </syntax>
Then add a per-host config file for athens to configure the archives: /backups/pc/athens.jellybean.sihnon.net/config.pl|<source lang="perl"> - athens.jellybean.sihnon.net - NAS - Backup near-line archive $Conf{XferMethod} = 'archive'; - The path on the local filesystem where backups will be written $Conf{ArchiveDest} = '/backups/archives/'; - Type and level of compression used in the archive $Conf{ArchiveComp} = 'none'; $Conf{CompressionLevel} = 1; - The amount of parity data to create for the archive $Conf{ArchivePar} = 5; - vim: set filetype=perl ts=4 expandtab: </source>
Now, when athens is selected in the CGI interface, an option to start an archive backup is available. To run the archive, chose this option, and select the desired hosts. The defaults on the final page of the wizard are acceptable, having been configured in the athens config file, so just click start.
0@@