Difference between revisions of "Talk:BackupPC"
Unnilennium (talk | contribs) (→create mirror raid for backuppc: new section) |
|||
Line 32: | Line 32: | ||
[[bugzilla:7281]] | [[bugzilla:7281]] | ||
+ | |||
+ | == 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 |
Revision as of 04:52, 18 May 2022
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.
ok i will do it Stephdl (talk) 08:15, 2 February 2013 (MST)
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