This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Backup in KDE neon

Tags: None
(comma "," separated)
ilanh
Registered Member
Posts
3
Karma
0

Backup in KDE neon

Thu Apr 18, 2019 5:01 pm
Hi,
I am a new comer to KDE.
I want to establish a backup and restore procedure.
It has to have 2 oviose restore features:
- The ability to overcome system crash (assuming I do the backup to external device)
- The ability to restore single file/ folder.
It has to have the following backup features
- It has to run automatically and with scheduling options (Nothing fancy just the ability to
determine when the automatically backup will take place)
- It should be as simple as possible.
Thanks,
Ilan
NoNameNoBlame
Karma
0

Re: Backup in KDE neon

Thu Apr 18, 2019 5:30 pm
Answer depends on:

1) Which KDE neon type(s)-of-filesystem do You use?

Enter:
$ mount


2) Where do You want to store the backup(s)?

a) External Harddrive?
b) Remote/other machine on network?
ilanh
Registered Member
Posts
3
Karma
0

Re: Backup in KDE neon

Fri Apr 19, 2019 5:42 am
The following is my $ mount result:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1896300k,nr_inodes=474075,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=385732k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1313)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=385728k,mode=700,uid=1000,gid=1000)


I have 2 computers. If I can do both (Backing up each other and backing up on external disk) It would be great.
Another possibility I thought about is to have One computer see the other (as a network drive) and then
backing up the first computer including the other to one disk.
Ilan
martinki
Registered Member
Posts
31
Karma
0
OS

Re: Backup in KDE neon

Fri Apr 19, 2019 7:47 am
i've never used kup, but it might meet your requirements: https://masonbee.nz/backup-kde-neon-wit ... 8486328125
NoNameNoBlame
Karma
0

Re: Backup in KDE neon

Fri Apr 19, 2019 2:26 pm
There seems to be only one big ext4-partition:

I think, You don't intend to backup all of it?

If both of Your computers use the same filesystem-type,
they could backup each other, mutually. The same filesystem
makes it possible to just copying things over without fear
of loosing file-attributes in the process. You have to be
careful regarding those attributes. They are easily overlooked
by inexperienced users.

You could just mount them remotely over NFS (or samba).
And then copy back and forth. Either manually or using
KDE desktop's builtin scheduler.

If You only want to backup some of Your stuff,
then backup Your home-directories, /etc and /var.

A short introduction (from FreeBSD) about UNIX-backup
can be found here (it really is a short read):

https://www.freebsd.org/doc/en_US.ISO88 ... asics.html

I myself would locally create a compressed archive and then copy this
over onto a remote computer. But I don't know, what Your needs are.

For the really important material, I use external harddrives.
And for the really, really important stuff, I use both.

The advantage of locally created archives is: You don't have
to care about file-attributes potentially lost.

My personal backup-strategy at home is very primitive:
I backup my home-directory, and 5 or 30 files from /etc
which I changed for my personal preferences. That's all I
needed at home in the last 25 years. It may not look very
professional to others. But it was always enough.

I don't have a fixed backup schedule.
When there is something new and important, I back it up.

This solution may not be right for You, if You have several
other human users and want to backup their data, too.

If You have lots and lots of pictures, videos and games,
then You need incremental backup, because You don't
want to copy/save the same unchanged stuff again and again.

Try:

$ apt search backup

and look at what comes up.

You decide.


Edit:

By the way: FreeBSD tells me, this exists:

$ pkg rquery '%c\n\n%e' kbackup

Backup program with an easy to use user interface

A Backup program with an easy to use User Interface
based on the KDE Frameworks version 5.

WWW: http://www.kde.org

2nd Edit:
If You want to backup data that is constantly changing
or changing in unknown ways or at unknown times,
then I'd recommend installing KDE neon on btrfs-filesystem.

This has these advantages:
1) Snapshots are instantaneous. Thereby, data consistency is
guaranteed.
2) Ubuntu and thereby KDE neon too does perform automatic snapshots
when doing its updates.
3) These or Your own snapshots can subsequently be used for backup.

See: https://btrfs.wiki.kernel.org/index.php ... tal_Backup


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]