openSUSE is a very polished, commercial-feeling distribution of Linux. The architects of the distribution have a much larger scope in mind of its usage than what I generally do. One such area is Samba, SMB or often referred to as Windows Network File and Printer Sharing Protocol. I only use this for one device on my network, my All-in-One, Printer-Scanner-Copier, The HP OfficeJet 8600. It is a fine machine that does what I need it to do very well, but for scanning to a network folder, I must use Samba.
This process used to be much simpler, many years ago, before the discovery of security issues within Samba. She short story of why there is the separation was some sort of vulnerability in the underlying system. I am sure there is a fairly simple or straight forward way to make it all work but my intent was to successfully set up Samba with as little effort as possible.
I had a resource out on the web someplace that told me how to do this simply but I couldn’t find the bookmark nor was there a link in my digital notebook so I took a few sites, what I know about openSUSE and created an easy step-by-step guide for getting Samba file sharing up and running. I have broken down the process into six easy to follow steps for a minimal setup. I use this to quickly and easily set up and use Samba with openSUSE Linux.
Minimum number of packages required to install the Samba Server
System Services that need to be activated and installed
Allow access to the server through the firewall
YaST Samba Setup
Basic configuration using openSUSE’s system configuration tool.
Adding Samba Users
Through the terminal, setting the username and password
Testing it all out
Making sure it actually works.
Samba is pretty easy to set up for a minimal usage. For something more involved and complex, there are certainly better ways of accomplishing it. Finally, if HP decided to put SFTP on their future All-in-One devices, this entire write up, to me, would be useless but until then, this is what is required.
Backing up data is extremely important. That is, assuming you value your data. Many of us have pictures, videos and documents on our computer. The reality is, all machines will fail, everything gets old and stops working, eventually. Most notably, the Hard Disk Drives and Solid State Drives have a limited lifespan before they cease functioning.
Here is some advice to avoid that white-hot sweaty feeling from a black screen when you turn on your computer.
Back up your data!
Beyond hardware failure, there have been a series of recent ransomware attacks against individuals, businesses and government organizations. One particular bit of ransomware is called WannaCry. Presumably because if you are affected you “wanna cry.” It essentially encrypts all your data and leaves a message that tells you you can have your data back if you pay a ransom. This can be avoided entirely by doing regular offline backups.
Backing up your data is something that you will hear frequently but what do you use to back up your data? Drag and drop the contents of your home directory onto an external drive? That will fill up a drive pretty quick, and isn’t sustainable for the long term. You can pay for storage and sync your data up to “the cloud”, but that can get expensive if you have a lot of data. It also runs the risk of being compromised as well as it just replicates the contents of your data. I have been doing an Rsync command in the terminal but unless if I know that I have been compromised, it could overwrite my good data with bad data.
You Only Need Two Things
1st Item | External Hard Drive
The tools I recommend to get you started is some sort of high capacity external mass storage drive. Something like 1 TB or better. They are not expensive, especially if you compare the cost of a new drive to the cost of data recovery. Then you need to get the software. There are lots of great tools out there but rather than search forever for the best tool possible, start here and see if it works for you. Move on if needed and try something else but complete that first backup. Whatever drive you choose to use, ensure that is ALL that drive does. You plug it in, do your backup, unplug it and safely store it.
2nd Item | Software
I am not targeting Windows or Mac users but the fact of the matter is, most of the people I know are NOT on Linux (because they haven’t seen the light, yet). So I wanted to just highlight some FREE offline backup utility options to get you down the right path. This is free as in you don’t have to shell out any cash but feel free to contribute voluntarily to the projects.
Back In Time
This is what I use on my machine. It has worked very reliably for months now. I haven’t yet had to make any backups but when upgrading my Dell Latitude E6440 with the mSATA drive and growing the 2.5″ SSHD Home partition, I backed up the home drive prior to just in case I messed things up. Fortunately the process went well so no “recovery” was required. I continue to take weekly snapshots of my home directory.
Easy to use, very friendly and can be set up for automated online or offline backups. This bit of software actually had more features to play with if you want to do snapshots to a networked service like Nextcloud, Google or a network share.
Shadow Copy has been included in Windows since Windows XP Service Pack 2 and is pretty basic but easy to use. I have the misfortune of using Windows daily because of a certain bit of required proprietary software. My work machine is still using Windows 7, good bad or otherwise and I also use Windows 7 in VM, therefore I am currently most familiar with that version.
To set up backups is very straight forward and since it is included in Windows, there is really no excuse to not back up your data… at all.
included in MacOS since Leopard (2007). I don’t have a Mac nor do I plan to purchase one. Since this is included with your operating system, there is no excuse to not using this utility. When you are done working or playing on your “fruit box”. Plug in that $50 external drive and create that snapshot.
Back up your data. Really, just take the time, do it and be done with it. Make it a point to keep your data backed up once a week or every other week… even once a month would be great. There are many, many backup solutions out there, some are free, some are paid services and many may even be better for you. I highly, highly, recommend you make your offline backups and store them safely.