Open Source

Adding a new user to my Time Capsule – on ZFS with Samba

I have another laptop I want to backup using my Time Capsule jail. Here are the step I used. Create a Unix User I have no idea if I need to do this. But I did. But now, I’m thinking, it is not required, at all. But read on, I think I’ll show you where I use it. [21:56 tm dvl ~] % sudo adduser Username: dvl-pro04 Full name: For backing up pro04 […]

Adding a new user to my Time Capsule – on ZFS with Samba Read More »

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it?

I have written recently about creating a ZFS-based Time Machine on FreeBSD. Yesterday, I did my first restore from this instance. Surprise. It worked. Please move along. Nothing to see here. Just photos. The motivation: I’m replacing one MacBook with another. Some details here on Twitter. Edit – 2024-02-22 After I messed up when renaming a user account, I restored from backup. Since my Time Machine is only available via my VPN, I

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it? Read More »

Adding another pair of drives to a zpool mirror on FreeBSD

Today, I’m ready to adding two recently obtained 12T spinning disks to r730-03. This host is the work-horse which houses all the main backups and database regression testing. It also hosts my newly-created but not yet-functional graylog jail. I will be following a previous post about adding drives because I don’t want to remember these things. They occur infrequently enough that documenting it is a good idea. In this post: FreeBSD 14 The

Adding another pair of drives to a zpool mirror on FreeBSD Read More »

Clearing out multiple drives – while watching Band of Brothers

The accomplished reader will first ask, how is this post any different from Clearing-out multiple drives concurrently – while Watching Fargo Season 5? Well, first, it’s a different server. This one is r720-01. Second, I’m watching Band of Brothers, which is completely different. However, the approach is the same: Boot the host using an mfsBSD thumb drive ssh in as root wipe the drives watch Band of Brothers profit What’s not to like?

Clearing out multiple drives – while watching Band of Brothers Read More »

Dan adds 2 x 12TB HDD into r730-03

I know, I know. You can hardly contain your excitement as you read about my exploits. In this post, I add the drives into the host and run some simple tests. As in recent posts about 12T drives, these drives are not new. They are used drives. A later post will deal with the commands which add these new drives into an existing zpool. These drives came from serverpartdeals.com. They are used and

Dan adds 2 x 12TB HDD into r730-03 Read More »

Using a third party tool to drive tarsnap backups

I have used Tarsnap since at least 2017. The jobs ran nightly. It wasn’t until three years later, that I started cleaning up old backups. Now I’ve found a tool which manages this for me (sysutils/acts) courtesy of a toot by M W Lucas. The selling point of this tool: By default, 31 daily, 12 monthly, and indefinite yearly backups are kept. Sounds good enough for me. I’ll buy that. The install and

Using a third party tool to drive tarsnap backups Read More »

Configuration for running poudriere in a jail on FreeBSD 14

I run poudriere in a jail on FreeBSD – it really is becoming the thing-to-do with all the cool kids. Everyone’s doing it. It is nifty. I will provide only the jail configuration, and not any file system configuration. That is left for you. I think these links might be most helpful: Using poudriere to create a custom FreeBSD repository for package installation Moving poudriere from the host into a jail In this

Configuration for running poudriere in a jail on FreeBSD 14 Read More »

Clearing-out multiple drives concurrently – while Watching Fargo Season 5

It is time to let the knew server go. It has gone through multiple upgrades, new drives, new boards, and new chassis. It has been replaced by r730-03. Before I let it go, I want to clear off the drives. By that I mean: I did this by booting the host using mfBSD (a lovely USB-bootable version of FreeBSD). I then ssh‘d in as root (one of the few situations when ssh as

Clearing-out multiple drives concurrently – while Watching Fargo Season 5 Read More »

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest)

This is a rewrite of a previous post on the same subject. I have rewritten it because I created a new jail ™ and I’m using a different configuration now. I recently moved a Time Capsule instance from a FreeBSD host into a jail. Later, I moved to using Samba instead of AFP. Why? Samba seems to be the preferred solution because AFP has been deprecated. It still works, but let’s go Samba.

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest) Read More »

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory?

On FreeBSD, you can jail a ZFS dataset – that is, the jail can manipulate the ZFS dataset as if it was a host (more or less). This has useful applications. In my case, I want to backup a snapshot of that dataset from the host. For example, I want to backup this dataset: [12:19 r730-01 dvl ~] % zfs list data02/freshports/jailed/dev-ingress01/data/latest_commits NAME USED AVAIL REFER MOUNTPOINT data02/freshports/jailed/dev-ingress01/data/latest_commits 572K 798G 120K /var/db/ingress/latest_commits Within

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory? Read More »

Scroll to Top