Daily - peacecoLienshttp://peacecopathe.free.fr/peacecoLiens/index.php5Daily shared linksen-enhttp://peacecopathe.free.fr/peacecoLiens/index.php5 peacecoLiens - Wednesday 26, August 2015http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20150826http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20150826Wed, 26 Aug 2015 00:00:00 +0000 traffic surprise Wed 26 Aug 2015 01:34:05 AM UTC - note traffic
http://peacecopathe.free.fr/peacecoLiens/index.php5?ALWkVw


Me lançant dans un fougueux ménage de mes ftps, me voila errant sur ma page perso free.
Par pur curiosité je m'en vais regarder les stats. oO !!!
une centaine de visiteur journalier en moyenne. Mais c'est énorme !!
Bon je ne sais pas si ce sont des robots, des abonnés au flux rss, ou des erreurs, mais c'est fun.
Bon le premier "visiteur" il semblerait que cela soit shaarli.fr (que je ne connaissais pas d'ailleurs)
Bref bonne surprise pour moi :)

Aller à peluche


]]>
peacecoLiens - Tuesday 20, May 2014http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20140520http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20140520Tue, 20 May 2014 00:00:00 +0000 Heu... comment dire... Tue 20 May 2014 11:32:57 AM UTC - Note
http://peacecopathe.free.fr/peacecoLiens/index.php5?DdPCkA


Je ne viens plus souvent par ici, mais je songe a "rebooter".
Trop le bordel mon shaarli et surtout je suis pas vraiment rigoureux dans mon "taggage".
A voir...
Et puis free quoi...


]]>
peacecoLiens - Thursday 26, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130926http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130926Thu, 26 Sep 2013 00:00:00 +0000 Dealabs.com : Le laboratoire des bons plans ! Thu 26 Sep 2013 08:28:18 PM UTC - commerce
http://www.dealabs.com/hot.html


De bonne affaires!


]]>
peacecoLiens - Sunday 22, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130922http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130922Sun, 22 Sep 2013 00:00:00 +0000 Installer BitTorrent Sync proprement | La vache libre Sun 22 Sep 2013 04:14:07 PM UTC - bittorent_sync tuto
http://la-vache-libre.org/bittorrent-sync-proprement/


Propre  et net :)


blog:2013:04:12:boinc_client [ReLoad]

Sun 22 Sep 2013 11:57:09 AM UTC - boinc serveur tuto
http://reload.eez.fr/blog:2013:04:12:boinc_client#readmore_blog_2013_04_12_boinc_client


Installer boinc sur un serveur


]]>
peacecoLiens - Saturday 21, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130921http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130921Sat, 21 Sep 2013 00:00:00 +0000 Differential backup using 7-zip cli for linux/windows | a32.Blog Sat 21 Sep 2013 10:21:43 PM UTC - 7zip
http://a32.me/2010/08/7zip-differential-backup-linux-windows/


Faire du backup diffrentiel avec 7zip


]]>
peacecoLiens - Thursday 19, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130919http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130919Thu, 19 Sep 2013 00:00:00 +0000 Mount remote ftp directory host locally into linux filesystem Thu 19 Sep 2013 09:19:29 PM UTC - curlftpfs ftp
http://linuxconfig.org/mount-remote-ftp-directory-host-locally-into-linux-filesystem


1. Installation

First install curlftpfs package. On Debian or Ubuntu it would simple as:

apt-get install curlftpfs

2. Mount ftp directory

What needs to be done next is to create a mount point:

# mkdir /mnt/my_ftp

next use curlftpfs to mount your remote ftp site. Suppose my access credentials are as follows:

   username: ftp-user
   password: ftp-pass
   host/IP: my-ftp-location.local

the actual curlftpfs mount command would be:

# curlftpfs ftp-user:
ftp-pass@my-ftp-location.local /mnt/my_ftp/

Caution:

ftp uses unencrypted passwords so anyone can intercept your password without much effort. Therefore use curlftpfs in combination with SSL certificates if your are not mounting some local LAN ftp server.

On Debian you can mount ftp using curlftpfs as a root and this allows only root user to access ftp mount. No other users are allowed since by default only users that mounts has and access to mount directory. When mounting ftp as a non-root user you may get a following error message:

fuse: failed to open /dev/fuse: Permission denied

Rather that changing permissions of /dev/fuse you can allow other users to access ftp mount directory with an curlftpfs's option allow_other. The command will look similar to the one below:

# curlftpfs -o allow_other ftp-user:
ftp-pass@my-ftp-location.local /mnt/my_ftp/

3. Mount ftp with curlftpfs using /etc/fstab

Since we do not want put any passwords to /etc/fstab file we will first create a /root/.netrc file with a ftp username and password using this format:

machine my-ftp-location.local
login ftp-user
password ftp-pass

Now change permissions of this file to 600:

# chmod 600 /root/.netrc

Check uid and gid of your non-root user. This user will have a access to ftp mount directory:

$ id

In the next step add a following line to your /etc/fstab file ( change credentials for your ftp user ):

curlftpfs#my-ftp-location.local /mnt/my_ftp fuse allow_other,uid=1000,gid=1000,umask=0022 0 0

Now mount ftp with:

mount -a


Litterature audio.com | Livres audio gratuits à écouter et télécharger

Thu 19 Sep 2013 08:47:46 PM UTC - litterature audio
http://www.litteratureaudio.com/


Je me demande si c possible d'écouter ('lire?') en voiture :)


]]>
peacecoLiens - Tuesday 17, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130917http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130917Tue, 17 Sep 2013 00:00:00 +0000 Quelques limites de l'utilisation des données Tue 17 Sep 2013 05:45:18 PM UTC - données information
http://blog.m0le.net/2013/08/01/quelques-limites-de-lutilisation-des-donnees/


Les données ça veut tout dire et rien dire...


]]>
peacecoLiens - Saturday 14, September 2013http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130914http://peacecopathe.free.fr/peacecoLiens/index.php5?do=daily&day=20130914Sat, 14 Sep 2013 00:00:00 +0000 Effectuer vos sauvegardes avec Duply Sat 14 Sep 2013 05:37:20 AM UTC - duply sauvegarde duplicity ftp
http://blog.cendreo.com/2012/09/17/effectuer-vos-sauvegardes-avec-duply/


Effectuer vos sauvegardes avec Duply

written on Monday, September 17, 2012

Duply est un frontal pour l’outil Duplicity, il permet d’effectuer des backups incrémental vers des serveurs de type FTP, SFTP, IMAP, Amazon S3, etc …, les sauvegardes peuvent être cryptées.

Création d’un profil

duply nom_profil create

Cette commande crée un profil dans le répertoire /root/.duply/nom_profil/

Paramétrage du profil

Nous allons modifier le profil qui comprendra 3 fichiers de configuration:

   conf: Configuration du profil
   exclude: Fichiers à exclure lors de la sauvegarde
   pre: Tâche à exécuter avant de débuter la sauvegarde

Contenu du fichier conf

GPG_PW='clef_a_definir'
TARGET='ftp://ftp.cendreo.com/duply'
TARGET_USER='user'
TARGET_PASS='userpass'
SOURCE='/'
MAX_FULL_BACKUPS=2

Contenu du fichier exclude

/bin
/boot
/dev
/lib
/lost+found
/media
/mnt
/opt
/proc
/sbin
/srv
/sys
/tmp
/usr
/var
/data/nobackup
/lib64
/run

Contenu du fichier pre

Le fichier pre est un lien symbolique sur un exécutable que l’on désire exécuter avant de lancer le backup. Nous utilisons ici le script jsl-mysqlbackup.sh qui permet d’effectuer les backups MySQL.

Planification des sauvegardes

avec la commande crontab -e nous allons ajouter les lignes suivantes pour effectuer une sauvegarde incrémentale en semaine et une complète le Samedi.

0 3 * * 0-5 duply mon_profil backup_purge_status --force
0 3 * * 6 duply nom_profil pre_full_purge-full_status --force

Vérification des sauvegardes

root@w1:~/.duply/mon_profil# duply mon_profil status
Start duply v1.5.2.3, time is 2012-09-17 19:38:40.
Using profile '/root/.duply/mon_profil'.
Using installed duplicity version 0.6.08b, gpg 1.4.10 (Home: ~/.gnupg)
Test - Encryption with passphrase (OK)
Test - Decryption with passphrase(OK)
Test - Compare Original w/ Decryption (OK)
Cleanup - Delete '/tmp/duply.18426.1347503520_*'(OK)

--- Start running command STATUS at 19:38:41.055 ---
NcFTP version is 3.2.4
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Sep 15 03:11:08 2012
Collection Status
-----------------
Connecting with backend: FTPBackend
Archive dir: /root/.cache/duplicity/duply_mon_profil

Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------------------------
Chain start time: Sat Sep  8 03:10:59 2012
Chain end time: Fri Sep 14 03:11:06 2012
Number of contained backup sets: 7
Total number of contained volumes: 1904
Type of backup set:                            Time:      Num volumes:
Full         Sat Sep  8 03:10:59 2012              1768
Incremental         Sun Sep  9 03:10:49 2012                46
Incremental         Mon Sep 10 03:12:05 2012                21
Incremental         Tue Sep 11 03:11:11 2012                26
Incremental         Wed Sep 12 03:11:04 2012                14
Incremental         Thu Sep 13 03:11:04 2012                14
Incremental         Fri Sep 14 03:11:06 2012                15
-------------------------


Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Sat Sep 15 03:11:08 2012
Chain end time: Mon Sep 17 03:12:16 2012
Number of contained backup sets: 3
Total number of contained volumes: 1866
Type of backup set:                            Time:      Num volumes:
Full         Sat Sep 15 03:11:08 2012              1795
Incremental         Sun Sep 16 03:11:06 2012                47
Incremental         Mon Sep 17 03:12:16 2012                24
-------------------------
No orphaned or incomplete backup sets found.
--- Finished state OK at 19:38:43.006 - Runtime 00:00:01.950 ---

Restauration # Restaure le dernier backup

duply mon_profil restore /destination_dir

# Restaure le backup effectué il y'a 4 jours

duply mon_profil restore /destination_dir 4D

# Restaure le dernier fichier rep/fichier

duply mon_profil fetch rep/fichier /destination_dir

# Restaure le fichier rep/fichier d'il y'a 4 jours

duply mon_profil fetch rep/fichier /destination_dir 4D

Note 1: Concernant la commande fetch, si vous désirez restaurer un fichier, le fichier de destination doit être également indiqué sinon le répertoire (si il est vide) sera remplacé par le fichier à restaurer. Note 2: Concernant la commande fetch, dans le cas d’un répertoire, le répertoire de destination doit être vide, sinon la restauration sera interrompu.

Ce billet est taggé avec Anti-Virus, Linux and planet-libre


]]>