Difference between revisions of "Talk:BackupPC"

From SME Server
Jump to navigationJump to search
(Created page with "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...")
 
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
With backuppc i have noticed that we need to change an argument in the template of smb :
+
[[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) With backuppc i have noticed that we need to change an argument in the template of smb :
  
 
  $Conf{SmbClientFullCmd}
 
  $Conf{SmbClientFullCmd}
Line 16: Line 16:
  
 
should we raise a bug to resolve this issue or there is a way to modify that with a new package.
 
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
 
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 [[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 08:15, 2 February 2013 (MST)
 +
 +
[[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
 +
 +
== create mirror rair for large disks >2TB for backuppc ==
 +
<syntaxhighlight lang="bash">
 +
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
 +
</syntaxhighlight>

Latest revision as of 04:53, 17 September 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

Linux et Geekeries

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)

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

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