Yes, thats valid point. However, i would stick with with +X option...
Jan
On 02/12/2017 11:24 PM, Les Mikesell wrote:
> On Sun, Feb 12, 2017 at 12:14 PM, Jan Stransky
> wrote:
>> I would rather use:
>> chmod -r o+rX /path
>> It adds execute only to directories, and
Yippee ! Backuppc restarted !
Les, thank for your help and your patience :)
@ Patrick Bégou, je suis sur Ubuntu 16.04
Le 2017-02-12 à 10:47, Les Mikesell a écrit :
> On Sun, Feb 12, 2017 at 7:32 AM, Edith Cloutier
> wrote:
>> You have reason; I have a problem with
Helo,
The first problem is to use this kind of auto mounting for your disk.
It is for simple user not to use in an system administrator point of view.
To move /var/lib/backuppc to a new disk permanently you must at least.
Stop backuppc
add a permanetly entry in the /etc/fstab file to mount
And may be takes care to selinux to access BakupPC home directory in an
unusual place... I don't know what your OS is.
Patrick
Jan Stransky a écrit :
> I would rather use:
> chmod -r o+rX /path
> It adds execute only to directories, and keeps on files when present.
> Jan
>
> On 02/12/2017 04:47
I would rather use:
chmod -r o+rX /path
It adds execute only to directories, and keeps on files when present.
Jan
On 02/12/2017 04:47 PM, Les Mikesell wrote:
> On Sun, Feb 12, 2017 at 7:32 AM, Edith Cloutier
> wrote:
>> You have reason; I have a problem with the
On Sun, Feb 12, 2017 at 7:32 AM, Edith Cloutier
wrote:
> You have reason; I have a problem with the permissions :
>
> ls -ld /media
> drwxr-xr-x 3 root root 4096 jun 11 2016 /media
>
> ls -ld /media/edith
> drwxr-x---+ 3 root root 4096 fév 5 21:18 /media/edith
>
>
You have reason; I have a problem with the permissions :
ls -ld /media
drwxr-xr-x 3 root root 4096 jun 11 2016 /media
ls -ld /media/edith
drwxr-x---+ 3 root root 4096 fév 5 21:18 /media/edith
ls -ld /media/edith/Disque640Go
drwxr-xr-x 3 root root 4096 fév 9 10:57 /media/edith/Disque640Go
On Sat, Feb 11, 2017 at 8:28 PM, Edith Cloutier
wrote:
> sudo su -s /bin/bash backuppc
> [sudo] Mot de passe de edith :
> bash: /var/lib/backuppc/.bashrc: Permission denied
Is that fatal or do you still get a shell running as backuppc at that point?
Is it the file
sudo su -s /bin/bash backuppc
[sudo] Mot de passe de edith :
bash: /var/lib/backuppc/.bashrc: Permission denied
Thanks for your help,
Le 2017-02-11 à 21:19, Les Mikesell a écrit :
> On Sat, Feb 11, 2017 at 7:14 PM, Edith Cloutier
> wrote:
>> None
>>
> You'll have to
On Sat, Feb 11, 2017 at 7:14 PM, Edith Cloutier
wrote:
> None
>
You'll have to explore why you can't su to the backuppc user and cd
into that directory. "sudo su -s /bin/bash backuppc" should work or
give you a hint about what is failing.
--
Les Mikesell
None
Le 2017-02-11 à 19:48, Les Mikesell a écrit :
> On Sat, Feb 11, 2017 at 5:18 PM, Edith Cloutier
> wrote:
>> ls -ld /media/edith/Disque640Go/backuppc
>> drwxr-x--- 7 backuppc backuppc 4096 fév 9 10:46
>> /media/edith/Disque640Go/backuppc
>>
>> /dev/sda1
On Sat, Feb 11, 2017 at 5:18 PM, Edith Cloutier
wrote:
> ls -ld /media/edith/Disque640Go/backuppc
> drwxr-x--- 7 backuppc backuppc 4096 fév 9 10:46
> /media/edith/Disque640Go/backuppc
>
> /dev/sda1 587G 70M 557G 1% /media/edith/Disque640Go
> ext4
>
ls -ld /media/edith/Disque640Go/backuppc
drwxr-x--- 7 backuppc backuppc 4096 fév 9 10:46
/media/edith/Disque640Go/backuppc
/dev/sda1 587G 70M 557G 1% /media/edith/Disque640Go
ext4
Thanks
Le 2017-02-11 à 17:53, Les Mikesell a écrit :
> On Sat, Feb 11, 2017 at 4:41 PM, Edith
On Sat, Feb 11, 2017 at 4:41 PM, Edith Cloutier
wrote:
> ~$ ls -l /var/lib/backuppc
> lrwxrwxrwx 1 backuppc backuppc 33 fév 9 10:58 /var/lib/backuppc ->
> /media/edith/Disque640Go/backuppc
> edith@edithbureau:~$ ls -l /media/edith/Disque640Go/backuppc
> total 20
>
~$ ls -l /var/lib/backuppc
lrwxrwxrwx 1 backuppc backuppc 33 fév 9 10:58 /var/lib/backuppc ->
/media/edith/Disque640Go/backuppc
edith@edithbureau:~$ ls -l /media/edith/Disque640Go/backuppc
total 20
drwxr-x--- 6 backuppc backuppc 4096 fév 9 10:50 cpool
drwxr-x--- 2 backuppc backuppc 4096 fév 9
On Sat, Feb 11, 2017 at 3:31 PM, Edith Cloutier
wrote:
> I tried to do it :
>
> sudo -i -u backuppc
> sudo: unable to change the folder towards /var/lib/backuppc: Permission
> denied
> sudo: unable to execute /bin/sh: Permission denied
>
> What's the bug ? Where's it
I tried to do it :
sudo -i -u backuppc
sudo: unable to change the folder towards /var/lib/backuppc: Permission
denied
sudo: unable to execute /bin/sh: Permission denied
What's the bug ? Where's it ?
Le 2017-02-10 à 20:50, Les Mikesell a écrit :
> On Fri, Feb 10, 2017 at 6:59 PM, Edith
On Fri, Feb 10, 2017 at 6:59 PM, Edith Cloutier
wrote:
> I did a new Backuppc's installation with your suggestions.
>
> But when I tried to start backuppc, I had the same response :
>
> Job for backuppc.service failed because the control process exited with
> error
I did a new Backuppc's installation with your suggestions.
But when I tried to start backuppc, I had the same response :
Job for backuppc.service failed because the control process exited with
error code. See "systemctl status backuppc.service" and "journalctl -xe"
for details.
What could
On Wed, Feb 8, 2017 at 4:26 PM, Edith Cloutier
wrote:
> fév 06 07:57:34 edithbureau backuppc[17175]: 2017-02-06 07:57:34 Can't
> create a test hardlink between a file in /var/lib/backuppc/pc and
> /var/lib/backuppc/cpool. Either these are different file syste
Thanks Jan for your answer.
The command ""systemctl status backuppc.service" give this :
< ● backuppc.service - LSB: Launch backuppc server
Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since lun 2017-02-06 07:57:34
EST; 17s ago
These two commands could give some clues:
"systemctl status backuppc.service" and "journalctl -xe"
However, I think, hardlinking of BackupPC is key here. You need to use
-H with rsync to preserve hardlinks, which BackupPC creates.
An option, which might help now and prevent another copying of
I use the Backuppc 's version 3.3.1-2ubuntu3.1 with Ubuntu 16.04
I want change the storage place from /var/lib/backuppc (sdb) to
/media/edith/Disque640Go/backuppc (sda).
I used this method :
sudo service backuppc stop
sudo mkdir /media/edith/Disque640Go/backuppc/
sudo rsync -va
23 matches
Mail list logo