Windows shares can be included in your AMANDA backup regimen. Your choices boil down to this:
- compile AMANDA under CYGWIN in each Windows client
- use a reference to an existing samba mount on the local file system (mounted using smbmount)
- use smbmnt and an /etc/amandapass files for shares listed in disklist
- find a working version od AMANDA built for Windows (I've heard rumours - none of the good...)
compile AMANDA under CYGWIN in each Windows client
This is beyond the scope of this document
use a reference to an existing samba mount on the local file system (mounted using smbmount)
mount the samba share in some directory :
smbmnt //neverland/wwwroot$ /mnt/neverland-wwwroot -o username=ororkep
smbmnt //ororkep-w2k3.itas.ca/wwwroot$ /mnt/ororkep-w2k3-wwwroot -o username=ororkep
edit
/etc/amanda/DailySet1/disklist to include the sambahost, sambashare and optionally domain:
# vi /etc/amanda/DailySet1/disklist
#ororkep-w2k3.itas.ca wwwroot share
linux-snort /mnt/ororkep-w2k3/ nocomp-user-gnutar
linux-snort /mnt/neverland/ nocomp-user-gnutar
#ororkep-w2k3.itas.ca wwwroot share
linux-snort.itas.ca //ororkep-w2k3.itas.ca/wwwroot$ nocomp-user-gnutar
define dumptype nocomp-user-gnutar {
program "GNUTAR"
comment "user partitions dumped with tar and no compression"
options no-compress
priority medium
}
!-- The meat and potatoes of the document starts here. Repeat any of the above elements as required --!
use smbmnt and an /etc/amandapass files for shares listed in disklist
# vi /etc/amandapass
//ororkep-w2k3.itas.ca/wwwroot$ user%password
# vi /etc/amanda/DailySet1/disklist
#ororkep-w2k3.itas.ca wwwroot share
linux-snort.itas.ca //ororkep-w2k3.itas.ca/wwwroot$ nocomp-user-gnutar
define dumptype nocomp-user-gnutar {
program "GNUTAR"
comment "user partitions dumped with tar and no compression"
options no-compress
priority medium
}
!-- The meat and potatoes of the document starts here. Repeat any of the above elements as required --!
use smbmnt and an /etc/amandapass files for shares listed in disklist
# vi /etc/amandapass
//ororkep-w2k3.itas.ca/wwwroot$ user%password
# vi /etc/amanda/DailySet1/disklist
#ororkep-w2k3.itas.ca wwwroot share
linux-snort.itas.ca //ororkep-w2k3.itas.ca/wwwroot$ nocomp-user-gnutar
define dumptype nocomp-user-gnutar {
program "GNUTAR"
comment "user partitions dumped with tar and no compression"
options no-compress
priority medium
}
!-- The meat and potatoes of the document starts here. Repeat any of the above elements as required --!
Some text to show more space.