If you did follow BPC install instructions, BPC should work with a non
root user (say backuppc).
Then you can give mount point directory restrictive permissions (while
backuppc filesystem is unmounted):
/etc/init.d/backuppc stop (or similar)
umount /dev/sdb1
chown root.root /var/lib/backuppc
chmod 750 /var/lib/backuppc
When you mount the fs again the permission are that of the mounted fs
and BPC can write (I assume you use a unix fs, like ext3/4, xfs or so,
not fat nor ntfs).
If /dev/sdb1 fails to be mounted, then BackupPC daemons cannot write to
the mount point and your root partition does not fill up.
Sorry for my poor english
Bye
___
*Paolo Basenghi – Sistemi Informativi*
/Az.Spec.Farmacie Comunali Riunite
Via Doberdò 9 - 42122 Reggio Emilia
Tel +39(0522)543312 – Fax +39(0522)550146
email: paolo.basen...@fcr.re.it <mailto:paolo.basen...@fcr.re.it>
www.fcr.re.it <http://www.fcr.re.it/> - www.informazionisuifarmaci.it
<http://www.informazionisuifarmaci.it/>
www.saninforma.it <http://www.saninforma.it/> - www.futurfarma.it
<http://www.futurfarma.it/>/
Le informazioni contenute in questa comunicazione sono riservate e
destinate esclusivamente alla/e persona/e o all'ente sopra indicati.
E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia,
diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p.,
sia ai sensi della legge 196/2003. Se questa comunicazione vi è
pervenuta per errore, vi preghiamo di rispondere a questa mail e
successivamente cancellarla dal vostro sistema.
Il 14/07/2015 12:31, Jürgen Depicker ha scritto:
Hello,
I wonder what is best practice to prevent the OS partition to fill up
when my data disk fails.
My setup: all virtualized; all backups stored in /var/lib/backuppc ,
but that is /dev/sdb1 mounted there. So if that drive fails, I’m
pretty sure Backuppc will fill up my / partition recreating the backup
in the then empty /var/lib/backuppc . How can I prevent this?
I guess changing topDir may be an option, but there may be a more
elegant solution?
Kind regards,
*Jürgen*
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/