Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SSH (root) profile and history wipes

Featured Replies

So I am relatively new to Unraid but not new to Linux. I am frequently using SSH to do things that I find more efficient on command-line.

 

Today I had a power failure and the server rebooted. After the reboot, or at least by the time the array was restarted, all my configurations were wiped, including command "history". So this tells me that root login is on tmpfs?

 

How can I setup some preferences to survive either a reboot or shutdown/startup of the array?

One option would be to create a user script that runs at stopping of array. The command could be cp ~/.bash_history /boot/config/extra. Then you create another user script for when the array starts to copy it in reverse  

  • Community Expert
6 hours ago, Xed said:

So I am relatively new to Unraid but not new to Linux. I am frequently using SSH to do things that I find more efficient on command-line.

Some things, such as moving/copying files on the server, are more efficient than doing that over the network. But be careful, you can easily get yourself in trouble. You must never move/copy between user shares and disks, or you could lose data, since linux won't know that the source and destination could be the same file and so could overwrite the file it is trying to read.

 

And as you have seen, some things don't survive reboot. This is because the entire OS is in RAM. Only the actual storage persists. Unraid unpacks itself fresh from the archives on flash at boot into RAM and runs completely in RAM. Plugins, for example, are reinstalled at boot.

 

It's probably best if you don't get too carried away with the command line until you have a good understanding how Unraid works and how it might be different from a full linux installation.

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.