Talk:BackupPC
Stephdl (talk) With backuppc i have noticed that we need to change an argument in the template of smb :
$Conf{SmbClientFullCmd} $Conf{SmbClientIncrCmd} $Conf{SmbClientRestoreCmd}
i have needed to remove a "-N" to backup my PC with the samba protocol
this is the new commande template
$smbClientPath \\$host\$shareName $I_option -U $userName -E -d 1 -c tarmode\ full -Tc$X_option - $fileList $smbClientPath \\$host\$shareName $I_option -U $userName -E -d 1 -c tarmode\ full -TcN$X_option $timeStampFile - $fileList $smbClientPath \\$host\$shareName $I_option -U $userName -E -d 1 -c tarmode\ full -Tx -
should we raise a bug to resolve this issue or there is a way to modify that with a new package.
What is amazing with the same setting between sme7 and sme8 it doesn't work to backup with the smb protocol
As it says in the article "Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-BackupPC component or use this link" That way the original author/maintainer will be notified, & it will start the process to have the package modified. In some cases the original maintainers are no longer involved, so someone else may step in to update the package. I think the original maintainer is still active.
create mirror raid for backuppc
create partition for disk 1
fdisk /dev/sdb n p 1 #enter #enter p w
create partition for disk 2
fdisk /dev/sdd n p 1 #enter #enter p w
create array
mdadm --create /dev/md20 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1 y
create partition
mkfs.xfs -L BACKUPPC /dev/md20
create target
mkdir -p /var/lib/BackupPC
then add it to /etc/fstab
LABEL=BACKUPPC /var/lib/BackupPC xfs noatime,auto 0 2
create mirror rair for large disks >2TB for backuppc
parted /dev/sdc
mklabel gpt
unit TB
mkpart primary 0.00TB 100%
print
quit
parted /dev/sdd
mklabel gpt
unit TB
mkpart primary 0.00TB 100%
print
quit
mdadm --create /dev/md20 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
y
mkfs.xfs -L BACKUPPC /dev/md20
mkdir -p /var/lib/BackupPC
echo 'LABEL=BACKUPPC /var/lib/BackupPC xfs noatime,auto 0 2' >>/etc/fstab