selfmate

joined 2 months ago
[–] selfmate@lemmy.zip 1 points 1 month ago

the backup is working

[–] selfmate@lemmy.zip 2 points 1 month ago* (last edited 1 month ago) (1 children)

all good. thanks for exchanging our experience :)

kopia wasn't running durin the week. I didn't look into the server configuration since it introduces user handling and that seemed to be overkill for the task but running as daemon would lead to a funcitoning system of course.

this is my kopia.service file in case some else finds it and is interested in it

[Unit]

Description=kopia backup

[Service]

User=root ExecStart=$HOME/bin/backup_kopia

[Install]

WantedBy=multi-user.target

where $HOME/bin/backup_kopia contains

#!/bin/bash

/usr/bin/kopia repository connect filesystem --path $KOPIA_REPO --password $KOPIA_PASSWORD

/usr/bin/kopia snapshot create $HOME/folder_to_backup

and my kopia.timer

[Unit]

Description=Run kopia backup

[Timer]

OnCalendar=hourly

Persistent=true

[Install]

WantedBy=timers.target

[–] selfmate@lemmy.zip 1 points 1 month ago (3 children)

It's a fedora server.

according to kopia's repo, there is no official systemd service https://github.com/kopia/kopia/issues/2685 and there is none on my system.

in the past week, it did not backup anything. Hence, there is no scheduler built into kopia automagically as described/ hinted in the docs.

I just wrote a systemd service and timer and I'll see if it works. I'm not the best in using systemd. I dislike it, I like cron for it's simplicity.

Even if it works then, I wouldn't recommend it to anyone because info about the scheduler is rare and the docs do not even cover the topic.

[–] selfmate@lemmy.zip 1 points 1 month ago

I eat very little processed food and primarily track my protein intake. I believe tracking every micro-nutrient is unnecessary as long as I eat a wide variety of whole foods. I place virtually no limit on vegetable consumption and only a light limit on fruit. Eating an extra banana isn't as detrimental as eating a bag of chips. It's easier to drop an additional banana a day than chocolate.

​In the beginning, it was helpful to learn which vitamins specific foods contain, but now that I eat a high volume of diverse greens, I don't feel the need to track them closely.

​being vegan is cheap because tofu is around €6/kg, while meat is at least €8/kg. Seitan (self made) is often even cheaper, and soy chunks are incredibly cost-effective at €10 per dry kilogram. ​Going vegan does narrow your food selection. There are simply things you can’t eat, and there’s no room for bargaining. However, the industry is developing rapidly, and more vegan options appear every year. Avoiding cheese also removes a massive source of calories. We aren't quite at the point where vegan cheese can replace dairy one-to-one in terms of variety, but we likely will be in 10 to 20 years which will make it more difficult to stick to a healthy diet based on vegan.

​Ultimately, eating unprocessed food is the best choice for both my budget and my well-being. I’m glad I’m not contributing to the suffering of animals, though I believe that choice is a personal one.

[–] selfmate@lemmy.zip 7 points 1 month ago

Lifting the zen way!

[–] selfmate@lemmy.zip 2 points 1 month ago (1 children)

great reminder!

It sounds good to aim for a body fat percentage instead of weight! I hope my body weight scale is ready for the task

[–] selfmate@lemmy.zip 10 points 1 month ago (3 children)
[–] selfmate@lemmy.zip 4 points 1 month ago

I cycled from barbell bench to barbell incline bench to dumbbell incline bench in the past months.

Sounds like it's time to get back to the flat bench and check if I can press 100 kg. Thank you for giving me the heads up and confidence! I knew that I am getting there, but I didn't know when.

[–] selfmate@lemmy.zip 1 points 1 month ago (5 children)

I couldn't find a systemd unit or service.

Kopia will then automatically begin taking the snapshot following the settings you set for the policy. link

I'm not yet sure about that

[–] selfmate@lemmy.zip 2 points 1 month ago

Thank you! That sounds great! I already own drives and a machine. I just want to upgrade and make it more secure. I don't need a NAS then.

[–] selfmate@lemmy.zip 2 points 1 month ago
 

I started working out six months ago, and today I reached my 69th session. I’m currently cutting because I want to get leaner. My progress is slow, but I’m definitely moving forward, and losing weight too.

It’s incredibly important to track the weights I lift; otherwise, I’d have no idea whether I’m making progress. It’s not always steady, I go back and forth with my working weights since there are good and bad days. As long as I record everything and see overall improvement, I think that’s perfectly fine.

I do wonder if I could lift more, and progress faster, if I weren’t cutting. I eat about 1-1.2 grams of protein per kilogram of body weight, following a vegan diet, which means lots of tofu and seitan.

I focus on the big compound lifts and add isolation work whenever I feel like it. Sometimes I do certain exercises, sometimes I skip them. it’s roughly a full-body workout with a touch of fuckarounditis.

Today, I confidently pressed 8×27.5 kg, 8×32.5 kg, and 8×32.5 kg per dumbbell on the incline bench, which made me really happy. My goal is to bench 100 kg within a year. Let’s see if I can make it happen!

[–] selfmate@lemmy.zip 1 points 1 month ago (8 children)

I can't find anything related to systemd or cron. Does it have its own scheduler? I already set policies. I'm just wondering if I forgot something to setup.

 

I want a server running nextcloud, immich and others.

I have a N100 mini server with a 2TB external HDD. I want to secure the system against data loss. Hence, I want a backup and redundancy.

  1. Most important question: How do I build everything? Is this a NAS? My naive approach is to buy 3 external HDDs and connect them to the N100 with a USB hub. I assume this is not "the right way" but to use/build a NAS. Do I have to build a separate NAS computer? When I lookup NAS buying, it is a computer with a case for 4 drives, excluding the drives and costs 400 bucks. I am confused because this is incredibly expensive compared to what I already have. What is the additional benefit compared to my setup? Am I cheap?

  2. Regarding redundancy, is RAID still the way to go? At 2 TB, using RAID 5 with 3 drives sounds good. I'd have 4 TB of usable space, much more than I intend to use in the next years, and adding a drive increases the storage by 2 TB, effectively increasing space by 50%.

  3. I have 4 TB usable space, but I won't reach 2 TB in the next one or two years. I'd use a 2 TB HDD for a local backup via borg. Once my hot storage needs to increase, I replace the backup drive with a larger one and use it to increase the RAID storage. Is one backup sufficient? Or should I keeping multiple versions of the data. Daily, weekly, monthly backups? What is your experience with it?

  4. Another 2 TB HDD for an offsite backup, LUKS encrypted, backed up once a year (that's the goal for now).

Does that sound good?

view more: next ›