[OpenIndiana-discuss] I'd like to backup my entire OpenIndiana installation using Restic. Which directories should I exclude?

Judah Richardson judahrichardson at gmail.com
Mon Apr 19 05:30:19 UTC 2021


Thanks so much. Sounds reasonable to add /mnt to that list too, I assume?
The only thing that would be there (on my end) is shares from other
machines and perhaps removable media I'm uninterested in backing up.

Judah

On Mon, Apr 19, 2021 at 12:04 AM Joshua M. Clulow via openindiana-discuss <
openindiana-discuss at openindiana.org> wrote:

> On Sun, 18 Apr 2021 at 21:15, Judah Richardson
> <judahrichardson at gmail.com> wrote:
> > On Linux and FreeBSD, there are some directories, such as /proc, that
> > generally shouldn't be backed up or aren't worth backing up since a new
> > installation regenerates them or generates their own anyway.
> >
> > What are those directories for OpenIndiana?
>
> I would probably exclude at least "/proc" and "/dev" and "/system".
> It might be worth taking a look at the filesystem(5) manual page, or
> perhaps you can look at all of the things that are mounted from file
> systems other than ZFS to get some hints on areas you might want to
> exclude; e.g.,
>
>     $ awk '$3 != "zfs" { printf("%-20s %s\n", $2, $3); }' /etc/mnttab |
> sort
>     /dev                 dev
>     /dev/fd              fd
>     /devices             devfs
>     /etc/dfs/sharetab    sharefs
>     /etc/mnttab          mntfs
>     /etc/svc/volatile    tmpfs
>     /lib/libc.so.1       lofs
>     /net                 autofs
>     /proc                proc
>     /system/boot         bootfs
>     /system/contract     ctfs
>     /system/object       objfs
>     /tmp                 tmpfs
>     /var/run             tmpfs
>
>
> Cheers.
>
> --
> Joshua M. Clulow
> http://blog.sysmgr.org
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list