teejee2008 / aptik

Command-line tool for migrating system settings and data for distributions based on Debian, Arch and Fedora. Can backup and restore software repositories, packages, icons, themes, fonts, users, groups, home data, dconf settings, fstab/crypttab entries, and cron tasks.
GNU Lesser General Public License v3.0
141 stars 26 forks source link

How to exclude files with aptik-gtk ? #7

Closed repsorp closed 6 years ago

repsorp commented 6 years ago

Any file created in '/home/files/user_name' is deleted when starting to backup Where am I supposed to create an 'exclude.txt' file ?

famewolf commented 6 years ago

Is there currently no way to add files/directories to the default list of excluded entries or am I just missing it? For example I need to skip symbolically linked folders like Downloads, Music, Ebook, etc when backing up home that point to directories on my NAS.

teejee2008 commented 6 years ago

Symlinks are saved as symlinks while taking backup. The data it is pointing to is not included. No need to add any exclude entries.

famewolf commented 6 years ago

You couldn't just answer the question? That's not going to help 30 GB in Virtualbox VM's or another 5-10gb in iso's stored in subfolders. I don't want to remove them but by the time I do a restore in most cases newer versions of the linux distro's or clonezilla iso etc will be available. Currently it looks like my home dir is going to take up 60GB of space. I'd like to trim that down however even though I can ADD files to be backed up I can't find anything that lets me exclude additional short of running the aptik command myself.

teejee2008 commented 6 years ago

@famewolf I don't remember if there's an option. I may have added one. Go through the code and figure it out. I have better things to do with my time.

famewolf commented 6 years ago

Nah...much easier to just write a shell script to use my own exclusion files and skip the crippled gui.

teejee2008 commented 6 years ago

Great. Problem solved.

2635599 commented 5 years ago

teejee how about actually being helpful? famewolf ask a more than fair question. aptik from what we over at mint forums has a bug. looks like when you change mount points of secondary drives and partitions on them to /home/your name/folder (partition) name instead of /home/your name/media/folder (partition) name aptik this all that data is actually on the os drive in the home folder and tries to back it up. no thanks to you over the last several day we have managed to ferret that out.

famewolf is there any chance of you sharing your script and how to use it? thanks

teejee2008 commented 5 years ago

@2635599 This software is licensed under the GPLv2 license. That means it is provided "as is" without warranty or support. You can do whatever you want with the software and the developer has zero obligations towards you. I'm not sure why you feel entitled to free support. This software may not have some features that you need (excluding folders in home for example) but that doesn't mean that I am under any obligation to implement those features.

I don't mind answering questions as long as people are being polite. But if you are going to be rude just because you feel that I didn't answer your questions properly (as in the case with famewolf above) - then you are going to have a hard time with me.

I'm locking this thread. Please do not post here again.