Mount BORG as a FUSE to browse remote backups repository

Discussion in 'Technical' started by Alex Mamatuik, Apr 13, 2023.

  1. Alex Mamatuik

    Alex Mamatuik Member

    Is it safe to fstab the remote borg system like:
      ssh://${BACKUP_USER}@${BACKUP_USER}${REPOSITORY_DIR} /mnt/point fuse.borgfs defaults,noauto 0 0
    dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg
    to prepare it for borg mount?

    I afraid, after running it my filesystem will be damaged.

    proc /proc proc defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    sysfs /sys sysfs defaults 0 0
    # /dev/md/0
    #UUID=450d0fe0-0d1c-4571-ba39-50c7dc73b25e /boot ext4 defaults 0 0
    /boot ext4 defaults 0 0
    # /dev/md/1 belongs to LVM volume group 'centos7'
    /dev/centos7/root / xfs defaults 0 0
    /dev/centos7/swap swap swap defaults 0 0
    /dev/centos7/tmp /tmp xfs defaults 0 0
    /dev/centos7/home /home xfs defaults 0 0
    #/dev/centos7/lv_cache /cache/lv_cache xfs defaults 0 0
    #/dev/centos7/lv_cache_meta /cache/lv_cache_meta xfs defaults 0 0
    /var/log/ispconfig/httpd/{domain} /var/www/websites/client0/domain1/log none bind,nofail 0 0
    /dev/nvme0n1p1: UUID="ca86466a-eda4-6219-1bbd-e1943876c9f8" UUID_SUB="bbbb5546-107f-74a1-6d0f-912092a05114" LABEL="rescue:0" TYPE="linux_raid_member"
    /dev/nvme0n1p2: UUID="b59ee989-f384-11fd-59ce-230c2cc0668d" UUID_SUB="38a9e866-5319-75f6-f650-179411d9b911" LABEL="rescue:1" TYPE="linux_raid_member"
    /dev/nvme1n1p1: UUID="ca86466a-eda4-6219-1bbd-e1943876c9f8" UUID_SUB="399e35db-fb1c-6e66-96b5-7bf657b1655f" LABEL="rescue:0" TYPE="linux_raid_member"
    /dev/nvme1n1p2: UUID="b59ee989-f384-11fd-59ce-230c2cc0668d" UUID_SUB="65f2fff1-1e05-3717-3dff-c6aa5881cbcd" LABEL="rescue:1" TYPE="linux_raid_member"
    /dev/md0: UUID="450d0fe0-0d1c-4571-ba39-50c7dc73b25e" TYPE="ext4"
    /dev/md1: UUID="6c7JSQ-MlPY-kKiT-cP37-xW0g-lj7d-r8Znub" TYPE="LVM2_member"
    /dev/mapper/centos7-root: UUID="181af6d4-2366-437a-ab8d-330f0a865f58" TYPE="xfs"
    /dev/mapper/centos7-swap: UUID="e8a68f4b-e30e-4eb6-afcf-89007e700fe7" TYPE="swap"
    /dev/mapper/centos7-tmp: UUID="56ebbad9-dd12-47a5-aa77-29a2a25a0f00" TYPE="xfs"
    /dev/mapper/centos7-home: UUID="1d51608c-c759-4e8a-ace2-bd4fee18f0f8" TYPE="xfs"
    /dev/nvme0n1: PTTYPE="dos"
    /dev/nvme1n1: PTTYPE="dos"
  2. Alex Mamatuik

    Alex Mamatuik Member

    I forgot to say, my Toolbar looks this way:
    Create Thread _ Howtoforge - Linux Howtos and Tutorials — Mozilla Firefox 13.04.2023 21_19_20.png
    it is extremally awful.
  3. Alex Mamatuik

    Alex Mamatuik Member

    and a final thought
    Mount BORG as a FUSE.png
    Is it possible to change the year to template?

    "2018" - is like something outdated
    <?php echo date("Y"); ?>

Share This Page